+ 2
why it ouputs 2.5? js. Explain the line var z=x++/y%4;
<script> var x=5; var y=2; var z=x++/y%4; document.getElementById("test").innerHTML = z; </script> output: 2.5
3 ответов
<script> var x=5; var y=2; var z=x++/y%4; document.getElementById("test").innerHTML = z; </script> output: 2.5