rem: var result = this.replace( /^\s+/g, "" ); return result.replace( /\s+$/g, "" ); 
add: var result = this.replace(/^\s+/g, "");  return result.replace(/\s+$/g, "");  
context: String.prototype.trim = function() {  var result = this.replace( /^\s+/g, "" );// strip leading  return result.replace( /\s+$/g, "" );// strip trailing};
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/409c1704b4cf230ddff8734c8f4835b0c22da435/htmlutils.js/buggy/code/javascript/core/scripts/htmlutils.js