incrementing variables in javascript code example Example: javascript decrement // Increment let a = 1; a++; ++a; // Decrement let b = 1; b--; --b;