PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/zpao/v8monkey
JavaScript | 10 lines | 5 code | 3 blank | 2 comment | 0 complexity | 77f8d95719b72436aff0fd43989e315b MD5 | raw file
 1// Use arguments in an eval.
 2code = " \
 3function f(a) { var x = a; } \
 4for (var i = 0; i < 10; i++) { f(5); } \
 5";
 6
 7eval(code);
 8
 9
10// Test it doesn't assert.