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