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