3 ms·
Can't the exception throwing on missing property behaviour be created using ES6 proxies? Anyway, while many of these things would be nice additions, I think ES
by Sonata 12y ago
Can't the exception throwing on missing property behaviour be created using ES6 proxies?
Anyway, while many of these things would be nice additions, I think ES7 will contain more low-level features which particularly benefit libraries and compile-to-js languages, such as SIMD support and value objects. Personally, I'd love to see tail call elimination in the spec.
- Sonata 12y agoIt appears the author has already answered my question: http://www.nczonline.net/blog/2014/04/22/creating-defensive-objects-with-es6-proxies/ http://www.nczonline.net/blog/2014/04/22/creating-defensive-...