function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);    function flatten(arr)  {    function op(partial, item)    {      if (item instanceof Array)        Array.prototype.push.apply(partial, flatten(item));      else        partial.push(item);      return partial;    }    return arr.reduce(op, []);  }  expect = [1, 2, 3];  actual = flatten([1, 2, 3]);      // [1, 2, 3]  reportCompare(expect + '', actual + '', summary + ': ' + expect);  expect = [1, 2, 3];  actual = flatten([1, [2], 3]);    // [1, 2, 3]  reportCompare(expect + '', actual + '', summary + ': ' + expect);  expect = [2, 3];  actual = flatten([[], 2, 3]);     // [2, 3]  reportCompare(expect + '', actual + '', summary + ': ' + expect);  expect = [1, 2, 3];  actual = flatten([[1], 2, 3]);    // [1, 2, 3]  reportCompare(expect + '', actual + '', summary + ': ' + expect);  expect = [4];  actual = flatten([[[[4]]]]);      // [4]  reportCompare(expect + '', actual + '', summary + ': ' + expect);  expect = [1, 2, 3];  actual = flatten([1, [2, [3]]]);  // [1, 2, 3]  reportCompare(expect + '', actual + '', summary + ': ' + expect);  expect = [];  actual = flatten([[[[[]]]]]);     // []  reportCompare(expect + '', actual + '', summary + ': ' + expect);  exitFunc ('test');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-363040-02.js/buggy/js/tests/js1_7/regress/regress-363040-02.js