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
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Rise of AI
1 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes