+ 6
Why? 4
What is the output of this code? var x = 8; var y = 4; x += y; x /= y; alert(y); answer 4
2 Respuestas
+ 7
Ah trick question. You are changing only the x value all the time. Y remains the same as initially, 4, and in the end y is alerted.
+ 4
All right! This is a question for which attention is required. which sometimes we lose this attention. Thank you friend for help ☺️👍