This project has moved and is read-only. For the latest updates, please go here.

validate js

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

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

Cheers!
Sep 2, 2014 at 1: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.