0

Please, help me understand why an answer is 1

https://code.sololearn.com/W0YmfUw9srO2/?ref=app

22nd Oct 2020, 10:57 AM
Тимур Завьялов
Тимур Завьялов - avatar
3 Réponses
+ 4
== operator is not as strict as ===, maybe the == operator considers `undefined` as an equal to `null`. That is not the outcome of `j === null` on the `if` block.
22nd Oct 2020, 11:04 AM
Ipang
22nd Oct 2020, 11:08 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
Thanks, I got it:)
22nd Oct 2020, 11:23 AM
Тимур Завьялов
Тимур Завьялов - avatar