ecmascript-undefined-propagation
ecmascript-undefined-propagation copied to clipboard
ECMAScript proposal to relax the rules to return `undefined` for property access on `null` or `undefined` instead of throwing.
Results
1
ecmascript-undefined-propagation issues
Sort by
recently updated
recently updated
newest added
Would this also work with destructuring? ``` js const { foo } = null // current: TypeError: Cannot match against 'undefined' or 'null'. // with this?: `foo === undefined` ```