+ 2

i++

What is i++ in JavaScript?!

30th Nov 2017, 4:35 PM
El Developerito
El Developerito - avatar
2 Answers
+ 2
Same thing as it is in most languages. Post-increment. Increases the variable by 1 after operation (i++ is same thing as i = i + 1 or i += 1)
30th Nov 2017, 4:38 PM
AgentSmith
0
Thank you, Netkos :)
1st Dec 2017, 7:13 AM
El Developerito
El Developerito - avatar