code•predict output•javascript
0s
+10 XP
Incrementing Number & Postfix Operation
What will this JavaScript code output to the console?
javascript
let x = 5; x++; console.log(x);
What will this JavaScript code output to the console?
let x = 5; x++; console.log(x);