Go to content

JavaScript Metaprogramming - ES6 Proxy Use and Abuse - Eirik Langholm Vullum

This un-polyfillable / un-transpilable feature now has first class support in all the latest browsers and node.js But what is it even? And why do I need it? Let's take a closer look at this mysterious new metaprogramming feature with some useful, abuseful and just plain fun uses of ES6 Proxy, including things like: - Data relations and object population - Safe objects (cannot read property 'x' of undefined no more!) - Debugging and testing - Validation and guarding Metaprogramming can be both fun and useful!

June 12, 2017