var a = 1, b = 2; switch (a--) { default: b++; } console.log(a, b);