
Even More JavaScript Features You Should Avoid - JSJ 547
JavaScript Jabber
00:00
Do You Use Null in Nodd?
There are few cases in t he language where unfortunately nol was chosen. For example, if you use match, the regular expression match, and it doesn't match, then it returns null rather than undefined. I actly use now quite a bit more than undefined. The only time i've ever really used undefined is when something's returning it. But otherwise i just, you know, try to avoid it and use undefined wherever i can. Any anybody disagrees? No, not here.
Transcript
Play full episode