0
Simple Javascript
Why is it that "i=i+1" and "i++" work, but when typing "i=i++" everything seem to be crashing instead of giving an error message ?
2 Answers
0
i=i+1 means that i will be equal one number above after something happens in the loop or whatever, i++ means that i is incrementing so i cannot be equal i++...
0
Dejan Francuzđ„ Aha thanks, but why doesn't "i=i++" just give an error instead of crashing ?