In firefox, you can use "Venkman"
the toturial, you can refer to http://developer.mozilla.org/cn/docs/Venkman%E5%85%A5%E9%97%A8
In Internet Explorer, you can use Microsoft Script Debugger.
others you can try jslint
转载于:https://www.cnblogs.com/bar1314/archive/2008/04/14/1152779.html