0

Why this JavaScript code only printing (iiiiii) ?? Why not print even number between 0-10??

var i=0; while (i<=10) { document.write("i"); i+=2; }

23rd Aug 2022, 2:02 PM
Golu
Golu - avatar
2 ответов
0
Thank you so much....for explaining me🤗
23rd Aug 2022, 4:24 PM
Golu
Golu - avatar