var boo = 1; var foo = 1; console.log(boo++); //logs 1, but console.log(boo) would log 2 console.log(++foo); //logs 2, returns the value of foo