faressoft
faressoft

Reputation: 19651

how to scan javascript code to find errors (are there any programs do that)?

how to scan javascript code to find errors (are there any programs do that) ?

Upvotes: 0

Views: 1697

Answers (3)

donohoe
donohoe

Reputation: 14123

Yes, a number of programs have plugins etc that can be used to detect common errors and syntax problems.

If I were you I would start here, JS Lint or here

In addition, each most browsers have a Javascript console where you can see errors reported and debug your code. Safari and Chrome have it in-built, for Firefox download Firebug.

Upvotes: 1

Dani Cricco
Dani Cricco

Reputation: 8979

You can use JSLint, and of course Firebug

Upvotes: 0

Guillaume Lebourgeois
Guillaume Lebourgeois

Reputation: 3873

Load it into Firefox, and use Firebug plugin. It enables you to debug JavaScript, and to see where errors are located in your code.

Upvotes: 2

Related Questions