increment button js code example Example: increment operator in javascript // Increment let a = 1; a++; // Post Increment ++a; // Pre Increment