Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
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
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
2 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
Html issue
0 Votes