|
|
|
|
|
by mdavidn
3744 days ago
|
|
In simple mode, Closure Compiler would rename the local variable "prop" but not alter the properties. In advanced mode, Closure Compiler would globally rename properties and statically eliminate dead code. In your example, it would remove a, b, and c and break the dynamic invocation. This behavior is all outlined in Closure's documentation with examples. [1]: https://developers.google.com/closure/compiler/docs/limitati... |
|