Tutorial :Find unused Javascript functions?



Question:

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?


Solution:1

Give a look to the JSLint code quality tool.


Solution:2

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »