PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/bug592973-1.js

http://github.com/zpao/v8monkey
JavaScript | 12 lines | 10 code | 1 blank | 1 comment | 1 complexity | a64bcda55b53c9347c8e6ae7ab6561dd MD5 | raw file
 1// vim: set ts=4 sw=4 tw=99 et:
 2function f(x) {
 3    if (x) {
 4        let y;
 5        y = 12;
 6        (function () {
 7          assertEq(y, 12);
 8        })();
 9    }
10}
11f(1);
12