Find unused Javascript functions?

后端 未结 2 985
温柔的废话
温柔的废话 2020-11-30 03:30

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?

相关标签:
2条回答
  • 2020-11-30 04:11

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

    0 讨论(0)
  • 2020-11-30 04:28

    Give a look to the JSLint code quality tool.

    0 讨论(0)
提交回复
热议问题