Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
x++ will increase a value sometimes. Please help me learn all of the times when it won't change x. This is my understanding so far: x=4; for { y=x++; } document.write(y) //returns 4 x=4; for { y=x++; y+=2; return y; } //returns 7 x++/2==? ++x/2=2.5
interations
javascript
loops
3 Votes
6 Answers
9th Oct 2016, 5:31 PM
ixnayOntheAmScray
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Saturn League badge
2 Votes
Sololearn keeps crashing
1 Votes
SHOULD I LEARN HTML OR PYTHON/JAVA
0 Votes
Lua course?
2 Votes
Why producer consumer not working at all
1 Votes
certificate
1 Votes
Adding an image to my html
0 Votes
CSS
1 Votes
Not able to activate account
0 Votes
About Advanced Courses
0 Votes