4 ms·
The existential operator has been introduced as an ECMAScript proposal[1], so it will probably be included in future versions of JavaScript. The `idx` function
by evv 10y ago
The existential operator has been introduced as an ECMAScript proposal[1], so it will probably be included in future versions of JavaScript. The `idx` function is just a temporary workaround.
When it gets added to the language, we can codemod away all usage of `idx` to use the question-mark syntax.
[1] https://github.com/claudepache/es-optional-chaining https://github.com/claudepache/es-optional-chaining