1117
A visual learning method
(kerala.party)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Ooh and the edge cases. Like if your last name is Null.
Bobby Tables would be proud.
The way I use it is 'undefined' is literally undefined (not set), but null means no value - explicitly.
I used to ban
null
usages with ESLint rules for this exact reason. If it’s there use a value, if not useundefined
Except you can define a value with undefined and accessing that value will have different behavior than attempting to access an undefined value.
It's a non-zero string tho?