number-- or --number
var myNumber = 3; myNumber--; // myNumber = 2;
Use the decrement operator as a counter.