ECMAScript Web APIs node.js

时间:2022-06-28 05:46:35

https://hacks.mozilla.org/2015/04/es6-in-depth-an-introduction/

What falls under the scope of ECMAScript?

The JavaScript programming language is standardized by ECMA (a standards body like W3C) under the name ECMAScript. Among other things, ECMAScript defines:

 – parsing rules, keywords, statements, declarations, operators, etc.

 – boolean, number, string, object, etc.

 of built-in objects and functions – , , , , etc.

What it doesn’t define is anything to do with HTML or CSS, or the Web APIs, such as the DOM (Document Object Model). Those are defined in separate standards. ECMAScript covers the aspects of JS that are present not only in the browser, but also in non-browser environments such as node.js.

ECMAScript Web APIs node.js