Hacker News new | ask | show | jobs
by legooolas 6065 days ago
Are there decent tools to debug and check JS for you, so that you don't have to rely on the browser built-in support (which is incredibly forgiving but also doesn't tell you what is going on)?

A massive advantage of BASIC was that it would tell you it was wrong as soon as you typed something with a syntax error in it, and it put a big flashing "?" (or similar) right there until you fixed it. Can JS be made to do that?

2 comments

Editor+syntax highlighting for static analysis, and firefox+firebug for runtime errors?
There's JSLint, you can surely build it in.

And it would have syntax colouring which basic lagged in.