+ 4

What is meaning of this statement, in js?

document.write(x-.y);

7th Jun 2018, 6:20 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
2 Respuestas
+ 8
x-.y lets x is a number 5,y must be a decimal less than 1 like...0.5 so document.write(1-0.5); or.. document.write(1-.5); .y is an abbreviation for 0.y like .7 is 0.7 .9 is 0.9 e.t.c
7th Jun 2018, 6:59 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
document. write is virtually same thing as print out or write this to the page
13th Jun 2018, 2:12 PM
Awoyemi Hafeez
Awoyemi Hafeez - avatar