/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. function f() {
  3. "use strict";
  4. foo = 1;
  5. }
  6. f();