4 ms·
It's kind of awesome that JS has both null and undefined. A lot of languages sometimes wish they had a descriptor for null to indicate if it mean we have the va
by coding123 6y ago
It's kind of awesome that JS has both null and undefined. A lot of languages sometimes wish they had a descriptor for null to indicate if it mean we have the value but it's blank vs we don't have the value. Now, that being said - a JS object can certainly HAVE a value that is undefined - so that's always fun.