JScript is a scripting language based on the ECMAScript standard.
JScript is implemented as a Windows Script engine. This means that it can be connected to any application that supports the Windows Script host, such as Internet Explorer, Active Server Pages, etc. It also means that any application that supports Windows Script can use several languages ββ- JScript, VBScript, Perl, etc.
For reasons that Iβm not sure about, but I believe that this is due to the fact that the DOM is not available outside the browser, the warning function is also not available outside the browser. To display a dialog box for the user in this case, you can use the following code:
WScript.Echo('The quick brown fox jumped over the lazy dog');
source share