console.log( (function (a) { if (0 != a); switch (a) { case 0: return "FAIL"; case !1: return "PASS"; } })(!1) );