shuishen
2021-06-15 4d8ef5d02421b1bb60f575e56b75d43a1ea4c2bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * String.prototype.trim Polyfill
 */
 
String.prototype.trim = (function() {
 
    var trimRegex = /(^\s+|\s+$)/g;
 
    return function() {
        return this.replace(trimRegex, '');
    };
 
}());
 
/* End of file trim.js */