Re:Metaprogramming with ECMAScript 6 proxies
by AnkhMorporkian on Tuesday December 09, 2014 @03:45PM
(#8725591)
This is huge.
I've been following ES6 pretty closely, but somehow I missed this huge feature. Don't get me wrong, I love generators and destructuring, but this is soooo cool.
[ Parent
| on HN ]
Re:Metaprogramming with ECMAScript 6 proxies
by tracker1 on Tuesday December 09, 2014 @04:13PM
(#8725794)
Should allow for the creation of a library to support Functional JS immutable instances...
Re:Metaprogramming with ECMAScript 6 proxies
by Offler on Wednesday December 10, 2014 @03:15PM
(#8731401)
Getters have been in JS since ES5 and can do what you just wrote. Obv Proxy is more powerful/has more traps.