Always use JSLint

Very annoying, when I run my Javascript on a web server, it contains simple errors like syntax error. It gets worse if the server is not local. Javascript is a dynamic language, so syntax errors could only be detected at runtime, right? WRONG. Douglas Crockford, a Yahoo's employee and Javascript guru, has created tools named JSLint. Copy-paste JavaScript code into, then click the JSLint button. You will soon find your bugs in the Javascript code, so it can be repaired before uploading it to the server. Now I always use JSLint.
Syndicate content