+ 7
Please explain the following
X = 7; y = x++; z = y++%x; alert(z); The answer = 7?
1 ответ
+ 6
After the first line:
x=7
After the second line:
y=7
x=8
After the third line:
z=7%8
z=7
y=8
And the last line prints 7
X = 7; y = x++; z = y++%x; alert(z); The answer = 7?