How does jslint check for problems in javascript? Does it have an actual javascript parser?
How does jslint check for problems in javascript? Does it have an actual javascript
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JSLint is written in JavaScript and uses a Pratt Parser. It “works” by parsing the source provided and looks for “problems”. These problems are defined by the author, and are not necessarily syntax-related.
It should be noted that “JSLint defines a professional subset of JavaScript“. This means that not all pure ECMAScript would appear valid in JSLint.