Closed devongovett closed 8 years ago
Thanks for this. :+1:
I've been added as a contributor to this so there should be more improvements coming soon.
P.S. Would you be interested in helping maintain this module? It would be good if substack could add a couple more contributors who are familiar with the source and AST manipulations.
This adds support for statically analyzable bracket notation (currently just literals). Makes this work:
and this:
This notation is often used by programs that are subject to minification where variable names/properties are mangled. For example, emscripten generates code like this, which is where I saw the error that happens currently.