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

New Post: Is it possible to validate script syntax before executing it?

$
0
0
Greetings!

ClearScript generally does not expose script parsing as a separate function from script execution. The methods that execute script code report syntax errors as well.

However, V8ScriptEngine.Compile() may be close to what you're looking for.

Cheers!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>