This project has moved. For the latest updates, please go here.

validate js

Aug 28, 2014 at 7:58 AM
how can i check if the given js is valid?
Coordinator
Aug 28, 2014 at 2:50 PM
Hi furesoft,

Consider using a JavaScript parsing library. Esprima is one that's written in JavaScript.

Cheers!
Sep 2, 2014 at 12:50 AM
Jint also has a .NET implementation of Esprima (I have written one myself too for an IDE). So you can also do the code validation in .NET.