How are JavaScript and ECMA Script related?
ECMAScript is a general-purpose programming language, standardized by Ecma International according to the document ECMA-262.
source- (//https://en.wikipedia.org/wiki/ECMAScript).
Basically
JavaScript = ECMAScript+ DOM]+ BOM;
- ECMAScript® Language Specification defies all logic for creating and editing objects, arrays, numbers, etc…
- DOM ( D ocument O bject M odel) makes it possible to communicate with HTML/XML documents (e.g.
document.getElementById('id');
). - BOM ( B rowser O bject M odel) is the hierarchy of browser objects (e.g. location object, history object, form elements).
source( //https://stackoverflow.com/a/29897320)
1 Like