I was looking for a way to decompile JavaScript that was compiled by Google Closure. I did find a Decompiler class (https://code.google.com/p/closure-compiler/source/browse/lib/rhino/src/org/mozilla/javascript/Decompiler.java?name=v20140407), however I haven't had much luck with it.
Anyone try this before or know of some other method?
Usually, I just run the code through the Closure Compiler in WHITESPACE mode and enable the pretty printing options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With