Easy
Understanding Post-Increment and Pre-Increment Operators in JavaScript Assignment
What will be the output of the following code?
1let x = 5;2x = x++ + ++x;3console.log(x);
What will be the output of the following code?
1let x = 5;2x = x++ + ++x;3console.log(x);