
Even More JavaScript Features You Should Avoid - JSJ 547
JavaScript Jabber
00:00
Injavoscope - Why You Can't Use Null
I really wish that javoskip did not have null ororor put it differently, the fact that it has both null and undefined is a shame. It should have only had one. And consequently, i try to avoid using null as much as i possibly can and just use undefined. Now you might ask, well, why not the other way round? Especially given that the null is fewer characters to type and probably also more familiar to people coming from other programming languages. If we did not have the undefined as a word in the language that you can use at asthly helso has the undefined value, it would have been more problematic. So really, there's hardly any
Transcript
Play full episode