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

/js/src/jit-test/tests/basic/bug646968-8.js

http://github.com/zpao/v8monkey
JavaScript | 7 lines | 5 code | 1 blank | 1 comment | 0 complexity | b8694cd1368f57f785613ac13453fdc1 MD5 | raw file
1// |jit-test| debug
2
3var x = 5;
4let (x = eval("x++")) {
5    assertEq(evalInFrame(0, "x"), 5);
6}
7assertEq(x, 6);