stop javascript execution

Posted by alemjerus on Stack Overflow See other posts from Stack Overflow or by alemjerus
Published on 2010-04-18T10:03:07Z Indexed on 2010/04/18 10:13 UTC
Read the original article Hit count: 671

When I run javascript script file in windows command line environment, and there is a free text coming after my code. How can I stop javascript interpreter to run into it? For example:

var fso = new ActiveXObject("Scription.FileSystemObject");
delete fso;
exit(); // some kind of WORKING exit command
Lazy frog ate a big brown fox.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about command-line