PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1function testBoxDoubleWithDoubleSizedInt()
 2{
 3  var i = 0;
 4  var a = new Array(3);
 5
 6  while (i < a.length)
 7    a[i++] = 0x5a827999;
 8  return a.join(",");
 9}
10assertEq(testBoxDoubleWithDoubleSizedInt(), "1518500249,1518500249,1518500249");