Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var a = 1;
console.log("a: %d", a);
var b = a++;
console.log("a: %d", a);
console.log("b: %d", b);
var c = ++a;
console.log("a: %d", a);
console.log("c: %d", c);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.