rem: String.prototype.trim = function() { writeLineToLog('hallo'); }; 
add: String.prototype.trim = function() { print('hallo'); }; 
context: function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary + ': in function');  String.prototype.trim = function() { writeLineToLog('hallo'); };  const S = String;  const Sp = String.prototype;  expect = 'No Error';  actual = 'No Error';  var s = Script('var tmp = function(o) { switch(o) { case String: case 1: return ""; } }; writeLineToLog(String === S); writeLineToLog(String.prototype === Sp); "".trim();');  s();  reportCompare(expect, actual, summary);  exitFunc ('test');}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/12a7a1d42a08730b7c1f3c81f78d425264c5fce8/regress-354541-02.js/buggy/js/tests/js1_5/String/regress-354541-02.js