简体   繁体   中英

Find unused Javascript functions?

I have around 100 .js files in my application. I need to find the unused functions from these files.

Which editor or tool can help me?

看一下JSLint代码质量工具。

You can do this using Jsure , a Javascript lint implementation. You'll be looking for the -unused-funs flag

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM