New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
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 someone please help with python code?
0 Votes
Is there a builtin way to reference a while loop condition without restating it?
0 Votes
I do understand a bit of code but can't make anything out of it
1 Votes
USING HTML ONLY!!!
4 Votes
Why is the result always 0?
1 Votes
[SOLVED] What problem in this program..?
2 Votes
Game Devolopment with JS
0 Votes
Can someone please help me with this python code?
2 Votes
Problem
0 Votes
Dark web access
1 Votes