3 ms·
Why is this an ES6 feature? Isn't ES6 set and implemented? Wouldn't this be part of a future spec (ES2018, ES2019, or whatever)?
by hackerbabz 8y ago
Why is this an ES6 feature? Isn't ES6 set and implemented? Wouldn't this be part of a future spec (ES2018, ES2019, or whatever)?
- rf15 8y agoIt's an existing, rarely-used feature. You can try it in your browser!
- TomMarius 8y agoBecause it is not a future feature, it exists for years now (I first used it in 2016).
- taco_emoji 8y agohttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy#Browser_compatibility https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... It's not "new" at all, Firefox has had it since v18 (mid 2012 [0]), Chrome since v49 (early 2016 [1]), etc. [0] https://en.wikipedia.org/wiki/Firefox_version_history https://en.wikipedia.org/wiki/Firefox_version_history [1] https://en.wikipedia.org/wiki/Google_Chrome_version_history https://en.wikipedia.org/wiki/Google_Chrome_version_history
- jazoom 8y agoIt's a poor title. It's not your fault.