Why I'm not able to enter into if statement?if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight){ ale | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why I'm not able to enter into if statement?if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight){ ale

if (document.body.scrollHeight == document.body.scrollTop + window.innerHeight){ alert(""); }

4th Apr 2021, 7:25 AM
Prafull Epili
Prafull Epili - avatar
1 Respuesta
+ 1
if statement works when the expression is true
11th Apr 2021, 1:07 PM
Khumoyun
Khumoyun - avatar