Reference Error: Proxy is Not Defined
问题 I am trying to use ES6 Proxies in an Angular app of mine as so: // Create defensive object using ES6 Proxy createDefensiveObject(target) { return new Proxy(target, { get : (target, property) => { if(property in target) return target[property]; else throw new ReferenceError(`Property \"${property}\" does not exist`); } }); } I am using Traceur to transpile everything in Chrome, and I have experimental JavaScript enabled. All other ES6 features I have implemented are working as expected, but