function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);   print('See Also bug 365891');  expect = 'TypeError: a(1) has no properties';  try  {    function a(){return null;} a(1)[0];  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  expect = 'TypeError: /a/.exec("b") has no properties';  try  {    /a/.exec("b")[0];  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  exitFunc ('test');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-372364.js/buggy/js/tests/js1_5/Regress/regress-372364.js