Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6085905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:41:31+00:00 2026-05-23T11:41:31+00:00

Is there some tool that can syntax-check my JavaScript files to see if they

  • 0

Is there some tool that can syntax-check my JavaScript files to see if they contain syntax errors that would bother the Javascript engine of Internet Explorer, especially excess trailing commas?

Example:

var some_object = {
  valid : "property",
  one : "comma too much ---> ",
};

This code works fine in FireFox, Chrome and Node.JS but fails in IE because of the trailing comma.
The integrated debugger of IE is rarely a help since it doesn’t produce useful errors/warnings for large web applications as we have (lots of JavaScript files combined together summing up to 50-100 k lines of code).

JSLint doesn’t help as it reports a huge amount of other warnings or stops at some meaningless error.

One idea could be using eval() directly within IE and catch SyntaxError exceptions but I can’t do this in an automated way (ie. on a command line).

Unfortunately Node.JS doesn’t bother about trailing commas.

No Linux / Windows tool around that can do basic JavaScript syntax checking for a file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:41:31+00:00Added an answer on May 23, 2026 at 11:41 am

    You can try also http://www.javascriptlint.com/. After installed, you may edit jsl.default.conf to set the warnings reported.

    jsl -process file.js

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there some tool that can automatically convert the following c style code A
I have many js files, with some naming convention. If there any tool that
Is there some tool that can analyze a Java program and strip down the
Is there some online tool that i can use to test website for devices
Is there some tool that can store for me the database structure, say in
Is there some tool that can generate wiki pages from a C# documentation?
Is there some tool that can do that ? Searching for given string in
Is there any tool that lists which and when some classes are effectively used
I'm looking for some tool that can be used to create .chm (or something
Is there some sort of profiling tool available? View source and search/replace?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.