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

/js/src/jit-test/tests/jaeger/strictModeSetUndefinedVar.js

http://github.com/zpao/v8monkey
JavaScript | 8 lines | 5 code | 2 blank | 1 comment | 0 complexity | d7281be74ef9909b1fb355b5268698f7 MD5 | raw file
1// |jit-test| error: ReferenceError;
2
3function f() {
4    "use strict";
5    foo = 1;
6}
7
8f();