var actualStringInvariant = true; var actualStringPrototypeInvariant = true; 
function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary + ': in function');  String.prototype.trim = function() { return 'hallo'; };  const S = String;  const Sp = String.prototype;  expect = 'hallo';  var expectStringInvariant = true;  var actualStringInvariant;  var expectStringPrototypeInvariant = true;  var actualStringPrototypeInvariant;  if (typeof Script == 'undefined')  {    print('Test skipped. Script is not defined');    var actualStringInvariant = true;    var actualStringPrototypeInvariant = true;  }  else  {    s = Script('var tmp = function(o) { switch(o) { case String: case 1: return ""; } }; actualStringInvariant = (String === S); actualStringPrototypeInvariant = (String.prototype === Sp); actual = "".trim();');    try    {      s();    }    catch(ex)    {      actual = ex + '';    }  }    reportCompare(expect, actual, 'trim() returned');  reportCompare(expectStringInvariant, actualStringInvariant, 'String invariant');  reportCompare(expectStringPrototypeInvariant,                 actualStringPrototypeInvariant,                'String.prototype invariant');  exitFunc ('test');}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/f6c62b7b4327e1528ae639d1336831103963f13f/regress-354541-04.js/clean/js/tests/js1_5/extensions/regress-354541-04.js