I'm taking on a task to find issues in a large number of short Javascript codes. One of the things I'm looking for is instance of a variable usage before explicit assignment, like so:
var a;
var b = a + 10; // a is not explicitly assigned a value
I've tried a few JS analysis tools like JSLint but they don't catch it. I'm hoping for a ready to use tool, as I'm pressed for time, but if there's a library that can be used for this with a bit of coding, then that's also helpful.