Google Closure decompiler?

試著忘記壹切 提交于 2019-12-21 22:21:49

问题


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?


回答1:


Usually, I just run the code through the Closure Compiler in WHITESPACE mode and enable the pretty printing options.



来源:https://stackoverflow.com/questions/9321648/google-closure-decompiler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!