This proposal aims to introduce a new primitive value nil
to the ECMAScript language, addressing a gap between null
and undefined
. While seemingly unnecessary, this addition offers subtle and nuanced differentiation in handling non-values, aligning with modern programming paradigms.
- Value:
nil
- Type: typeof
nil
returns"absent"