2 ms·
while I agree with your position the criticism of null can also be reformulated as: are there places in common usages where both null and undefined are common/r
by afiori 6y ago
while I agree with your position the criticism of null can also be reformulated as: are there places in common usages where both null and undefined are common/reasonable values and have different meaning?
conceptually I think so, but I am not sure how much it actually helps with the language ergonomic.
in hindsight I think undefined should have been more powerful, eg setting a property to unrefined should effectively remove the property from an object (which would also affect the prototype chain)