1.2 NOC Script, JavaScript, and ECMAScript

JavaScript* is a popular scripting engine used by virtually every Web browser. Despite its name, JavaScript has little to do with the Java* programming language and environment. While the two environments do share some syntax, more differences than similarities exist between JavaScript and the Java programming language.

When competing versions of JavaScript-like languages threatened to break the scripting language into competing proprietary versions, the Ecma International standards group created ECMAScript as a vendor-neutral standard. NOC Script is an extension of this language.

For ECMAScript information and objects, see the ECMAScript Language Reference

A similarity does exist in the way a browser and Operations Center each interact with JavaScript. A browser exposes several top-level objects to the JavaScript engine before executing the script. Notably, the navigator and document objects represent gateways into the browser and HTML document, respectively. A script author uses these objects to “script” the HTML page, adding interactivity. Similarly, Operations Center exposes an object to the scripting environment to allow a script author to interact with Operations Center elements.