summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/array-length.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/array-length.js')
-rw-r--r--deps/v8/test/mjsunit/array-length.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/array-length.js b/deps/v8/test/mjsunit/array-length.js
index 967d7203c..16867db73 100644
--- a/deps/v8/test/mjsunit/array-length.js
+++ b/deps/v8/test/mjsunit/array-length.js
@@ -102,7 +102,7 @@ assertEquals('undefined', typeof a[Math.pow(2,32)-2], "top");
var a = new Array();
-assertEquals(12, a.length = new Number(12));
+assertEquals(Object(12), a.length = new Number(12));
assertEquals(12, a.length);