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