www.2ality.com
Controlling access to global variables via an ES6 proxy
3
The following function evalCode() traces the global variables that are accessed while evaluating a piece of JavaScript code. Read full article