summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/strictModeSetUndefinedVar.js
blob: 99b846c17ba0882cc99340d67a49192bbab2d422 (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: ReferenceError;

function f() {
    "use strict";
    foo = 1;
}

f();