3 lines
104 B
JavaScript
3 lines
104 B
JavaScript
|
String.prototype.trim = function () {
|
||
|
return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
||
|
};
|