What are the tools for finding and removing dead js code? Is it possible, in addition to individual lines and blocks, to also identify unused event handlers and functions?

  • and JSHint does not fit? - Moonvvell

1 answer 1

If as a separate tool, then JSHint to help you.

If you want to check directly when developing whether the code is used, then I recommend one of the JetBrain products.

In particular, for web development this is WebStorm or PhpStorm.