context: 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');}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/0b675418ba636127763e94e614e62364d6caa659/regress-363040-02.js/clean/js/tests/js1_7/regress/regress-363040-02.js