summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testStaticEvalScope.js
blob: 6850f3bf4c827a8df2b83f5b70a814420a941cf0 (plain)
1
2
3
// Test that static eval scopes don't mess with statement nested scope logic in
// the frontend.
eval("if (true) { { let y; } } else {}")