PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/js/src/jit-test/tests/basic/bug582161.js

http://github.com/zpao/v8monkey
JavaScript | 3 lines | 2 code | 0 blank | 1 comment | 1 complexity | 3e69ab95d7fa7a4764ad67da1adfe46d MD5 | raw file
1// |jit-test| error: RangeError;
2var vs = [1, 1, 1, 1, 3.5, 1];
3for (var i = 0, sz = vs.length; i < sz; i++) new Array(vs[i]);