/js/src/jit-test/tests/basic/testBoxDoubleWithDoubleSizedInt.js
http://github.com/zpao/v8monkey · JavaScript · 10 lines · 9 code · 1 blank · 0 comment · 1 complexity · 4bd33858e3462ce08ebc2586aba15063 MD5 · raw file
- function testBoxDoubleWithDoubleSizedInt()
- {
- var i = 0;
- var a = new Array(3);
- while (i < a.length)
- a[i++] = 0x5a827999;
- return a.join(",");
- }
- assertEq(testBoxDoubleWithDoubleSizedInt(), "1518500249,1518500249,1518500249");