form-cheatsheet/js/polyfills/EcmaScript/String.prototype.trim.js

2 lines
145 B
JavaScript
Raw Normal View History

2016-10-10 12:02:31 -04:00
String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};
//# sourceMappingURL=String.prototype.trim.js.map