Index: test/mjsunit/harmony/array-concat.js |
diff --git a/test/mjsunit/harmony/array-concat.js b/test/mjsunit/harmony/array-concat.js |
index 286aefd29a5c3d3933ab5c25ab4f322434e2eaaf..c1ff92c8c3df03100571eafb0f91dd2ad1abbcec 100644 |
--- a/test/mjsunit/harmony/array-concat.js |
+++ b/test/mjsunit/harmony/array-concat.js |
@@ -245,7 +245,7 @@ function testConcatTypedArray(type, elems, modulo) { |
} |
(function testConcatSmallTypedArray() { |
- var max = [2^8, 2^16, 2^32, false, false]; |
+ var max = [Math.pow(2, 8), Math.pow(2, 16), Math.pow(2, 32), false, false]; |
[ |
Uint8Array, |
Uint16Array, |
@@ -259,7 +259,7 @@ function testConcatTypedArray(type, elems, modulo) { |
(function testConcatLargeTypedArray() { |
- var max = [2^8, 2^16, 2^32, false, false]; |
+ var max = [Math.pow(2, 8), Math.pow(2, 16), Math.pow(2, 32), false, false]; |
[ |
Uint8Array, |
Uint16Array, |