Windows .
Windows Windows 95 script, Javascript Microsoft, JScript, . cmd.exe filename.js, Windows Jscript .
JScript - Javascript, Windows. : JScript COM-; , JScript- Word " " (zip ) , COM-, Windows .
Javascript, , JScript, Windows script Host, , Windows.
, JSLINT, JSHINT CSSHINT - Javascript - , Windows script Host, Windows. , LINT script.
Javascript- WSH, HTML DOM. window , document . Javascript.
WSH:
(function(globalScope){
var test = "global";
function say(x){ WScript.Echo(x); }
function out() {
var test = "local";
return test;
}
say(out());
}(this));
WScript.Echo - JScript. :

- , JS-:
(function(globalScope){
'use strict';
function say(x){ WScript.Echo(x); }
if (typeof Array.prototype.numericSort !== 'function') {
Array.prototype.numericSort = function() {
return this.sort(function(a,b){return a - b;});
};
}
var list = [17, 23, 2003, 39, 9172, 414, 3];
say("array: [" + list.toString() + "]");
var sortedList = list.numericSort();
say("sorted: [" + sortedList.toString() + "]");
}(this));
WSH :

, Array. JS . , , .