I have some client-side JavaScript code and want to check that file for syntax errors/warnings.
What is the easiest way to check my JavaScript file for "compile time" errors, such as a mismatched bracket or a keyword typo?
Copy and paste it into http://www.jslint.com/ but be prepared to "have your feelings hurt".
Opening your JavaScript console in the Chrome browser with (Tools->JavaScript console) or (CTRL + SHIFT + J) is always a good place to start. However, JSLint is really your best bet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With