guest271314 (2019-05-10T14:32:36.000Z)
guest271314 at gmail.com (2019-05-10T14:56:31.508Z)
The bytes used for code can be reduced. ```JSON.stringify()``` or ```JSON.parse()``` and ```replace()``` could be used. The original proposal mentions ```JSON```, though includes the case of ``` const { y =? 'a' } = { y: undefined }; // z === 'a' ``` which is not valid ```JSON``` but a JavaScript plain object. The brief example handles ```JSON``` and/or JavaScript plain object input. Is the actual input a ```JSON``` string? There would probably at least that amount of code to implement the extension to the ```=``` operator in JavaScript.