开发者

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

开发者 https://www.devze.com 2023-01-13 10:45 出处:网络
how to scan javascript code to find errors开发者_StackOverflow中文版 (are there any programs do that) ?Load it into Firefox, and use Firebug plugin. It enables you to debug JavaScript, and to see wher

how to scan javascript code to find errors开发者_StackOverflow中文版 (are there any programs do that) ?


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


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.


You can use JSLint, and of course Firebug

0

精彩评论

暂无评论...
验证码 换一张
取 消