DEV Community

Discussion on: You don't need null

Collapse
 
mistval profile image
Randall

I've seen people give entire lectures about when you should use undefined and when you should use null. I always found that a bit silly. We have better things to waste our attention on. I just always use undefined unless forced to do otherwise (by some library that does === null or such).

Some comments have been hidden by the post's author - find out more