printBugNumber (bug); 
printBugNumber(BUGNUMBER); 
function test(){  printBugNumber (bug);  printStatus (summary);  expect = 'TypeError: can\'t convert Object to string';  try  {    function p() { return { toString: null } } "fafa".replace(/a/g, p);    actual = 'No Error';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary + ': 1');  expect = 'TypeError: can\'t convert Object to string';  try  {    a=1; b=2; c={toString: null}; "hahbhc".replace(/[abc]/g, eval);    actual = 'No Error';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary + ': 2');  expect = 'TypeError: can\'t convert ({toString:(function () {yield 4;})}) to primitive type';  try  {    3 + ({toString:function(){yield 4} });    actual = 'No Error';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary + ': 3');  expect = 'TypeError: ({}) is not a function';  try  {    3 + ({toString:({}) }) ;    actual = 'No Error';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary + ': 4');  expect = 'TypeError: 3 is not a function';  try  {    ([5].map)(3);    actual = 'No Error';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary + ': 5');  expect = 'TypeError: 5 is not a function';  try  {    (1 + (4))();    actual = 'No Error';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary + ': 6');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-351503-02.js/clean/js/tests/js1_7/regress/regress-351503-02.js