[–] cratermoon 3y ago ↗ Because 'null' in Javascript isn't intuitive https://www.destroyallsoftware.com/talks/wat [–] Khelavaster 3y ago ↗ Exactly. This emphasized that '===' semantically means 'is'; '==' means 'equals'.
[–] Khelavaster 3y ago ↗ Exactly. This emphasized that '===' semantically means 'is'; '==' means 'equals'.
[–] db48x 3y ago ↗ So that you can refer to it by name, and do things like `_.remove(myArray, _.isNull)` to get an array with no null values.
3 comments
[ 3.4 ms ] story [ 20.3 ms ] thread