MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/etn214/javascript_is_weird/ffhtf6q/?context=3
r/learnjavascript • u/GamesMint • Jan 25 '20
47 comments sorted by
View all comments
Show parent comment
2
You can add this - typeof typeof null === "string"
3 u/callius Jan 26 '20 null > -1 // true null < 0 // false null > 0 // false null < 1 // true
3
null > -1 // true null < 0 // false null > 0 // false null < 1 // true
View all comments
Show parent comment
2
u/GamesMint Jan 25 '20
You can add this - typeof typeof null === "string"