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

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