summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Frame-eval-32.js
blob: 9a5309d6aa75055b95689e3b145e405d4a1b86ee (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: ReferenceError

// Test the TDZ works for glbao lexicals through Debugger environments in
// compound assignments.
load(libdir + "evalInFrame.js");

evalInFrame(0, "x |= 0");
let x;