Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: using v8 with c#.net : compile javascript and know for any possible error before executing

0
0
Hi RavinWorx,

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

Edit: Note that a parsing library is useful if you need to perform semantic analysis of any kind. The ClearScript methods you mentioned all throw exceptions if the code contains syntax errors.

Good luck!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images