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?
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?
Give a look to the JSLint code quality tool.
Necromancing for the sake of completeness:
On the frontend you can now use modern browsers' devtools, which now have the "Coverage" tab (at least Chromium-based do).
This tab allows you to "record" user activity for some time and then inspect which parts of JS files haven't been called/executed. Works for CSS too.
In dev tools press Ctrl + Shif + P
to bring up the command bar, start typing "Cover.." and the "enable Coverage tab" will pop up. Then press "record" at the bottom area.