+ 1
Code output confusion
The output is 4 .how it process? <script> var x= 8; var y= x++ *5; var z=y%x; alert(z); </script>
4 Antworten
+ 5
It would be a better idea to post the code snippet in the description and not the titles.
+ 4
x == 8.
y == 8*5 == 40 // x is now 9 because of x++
z == 40%9 == 4.
+ 2
Ohk
+ 1
Ohk now I understand 😊 Thanks man