rem: var s = Script('var tmp = function(o) { switch(o) { case String: case 1: return ""; } }; print(String === S); print(String.prototype === Sp); "".trim();'); s(); 
add: if (typeof Script == 'undefined') { print('Test skipped. Script not defined.'); } else { var s = Script('var tmp = function(o) { switch(o) { case String: case 1: return ""; } }; print(String === S); print(String.prototype === Sp); "".trim();'); s(); } 
context: function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary + ': in function');  String.prototype.trim = function() { print('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 ""; } }; print(String === S); print(String.prototype === Sp); "".trim();');  s();  reportCompare(expect, actual, summary);  exitFunc ('test');}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/dec1509dd9f1979f796ef6cfa5950c5ebeae2288/regress-354541-02.js/buggy/js/tests/js1_5/String/regress-354541-02.js