Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 2
== checks boolean value
because both null and undefined are false,
so == returns true
=== checks the type too
so null === undefined returns false
- 1
Similar inquiries:
https://www.sololearn.com/discuss/1772843/?ref=app
https://www.sololearn.com/discuss/483493/?ref=app
https://www.sololearn.com/discuss/541520/?ref=app
https://www.sololearn.com/discuss/1795304/?ref=app
Please search prior to posting.
(keyword: "null")
Happy coding!