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

/js/src/jit-test/tests/arguments/args11.js

http://github.com/zpao/v8monkey
JavaScript | 14 lines | 10 code | 4 blank | 0 comment | 2 complexity | 8b462ac13b810998cb63a75883b47781 MD5 | raw file
 1actual = '';
 2expected = 'true,true,true,true,true,';
 3
 4function h() {
 5  var a = arguments;
 6  for (var i = 0; i < 5; ++i) {
 7    appendToActual(a == arguments);
 8  }
 9}
10
11h();
12
13
14assertEq(actual, expected)