rem: var s = Script('var tmp = function(o) { switch(o) { case String: case 1: return ""; } }; writeLineToLog(String === S); writeLineToLog(String.prototype === Sp); "".trim();'); 
add: var s = Script('var tmp = function(o) { switch(o) { case String: case 1: return ""; } }; print(String === S); print(String.prototype === Sp); "".trim();'); 
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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f577de167a7d5c2c46bde55f8215c4317b1d256f/regress-354541-02.js/clean/js/tests/js1_5/String/regress-354541-02.js