michael@0: function testMap() { michael@0: // Test overflow michael@0: var p = [1 << 30]; michael@0: var m = p.mapPar(function(x) { return x * 4; }); michael@0: assertEq(m[0], (1 << 30) * 4); michael@0: } michael@0: michael@0: if (getBuildConfiguration().parallelJS) michael@0: testMap(); michael@0: