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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 1
if statement works when the expression is true
11th Apr 2021, 1:07 PM
Khumoyun
Khumoyun - avatar