typeof null is "object" in JavaScript
@mrnarwhal55▲ 5 net votes
A long-standing quirk from the first JS implementation. Check for null explicitly: x === null.
3 COMMENTS
Fixed
Perfect
Notable
A long-standing quirk from the first JS implementation. Check for null explicitly: x === null.
Fixed
Perfect
Notable