Re:Future JavaScript: what is still missing?
by realharo on Sunday January 27, 2019 @11:11AM
(#19012221)
Presumably people will only use it in situations where null (or undefined, or however it works) is a valid and expected value for a particular property.
In TypeScript, these properties would explicitly have a `MyType|null` or `MyType|undefined` type.
In TypeScript, these properties would explicitly have a `MyType|null` or `MyType|undefined` type.