1 2 3 4 5 6 7 8 9
var y = 7; switch (function () { with ({}) return y; }()) { case 7: let y; break; default: throw 'FAIL'; }