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!

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(""); }

4/4/2021 7:25:24 AM

Prafull Epili

1 Answer

New Answer

+1

if statement works when the expression is true