if (true) { const x = 1; switch (x) { case 1: { function y() { assert(x, 1); }; break; } } }