if(!('trim' in String.prototype)){ String.prototype.trim = function(){ return this.replace(/^[suFEFFxA0]+|[suFEFFxA0]+$/g,''); } }
console.log('(' + ' aaa '.trim() + ')');
if(!('trim' in String.prototype)){ String.prototype.trim = function(){ return this.replace(/^[suFEFFxA0]+|[suFEFFxA0]+$/g,''); } }
console.log('(' + ' aaa '.trim() + ')');