Find unused Javascript functions?

后端 未结 2 984
温柔的废话
温柔的废话 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

提交回复
热议问题