ECMAScript Vs JavaScript Vs NodeJS
Most of the new developers got confused between Javascript, ECMAscript, and NodeJS. In this blog, you will get to know the difference and relations between these all.
JavaScript
Javascript is a programming language developed by Brandan Eich (at Netscape) in September 1995, It was initially named Mocha, then LiveScript and, later JavaScript. as Java was a very famous language at that time.
Javascript is the core, on which all other sub-languages OR Sub-Parts are made up.
Netscape presented JavaScript to Ecma International, which develops standards and it was renamed to ECMA-262 aka ECMAScript.
ECMAScript
ECMAScript is a standard governing Javascript, which has its own type of syntax and versions.e.g.-ES6, ES7.
In simple words, ECMAscript gives the Javascript a standard version by adding all the necessary syntax to it.
Most of the browsers have adopted the ECMAScript version of Javascript which is made for front-end development specifically.
NodeJS
NodeJS is made for handling backend and processes in backend services. It’s used for cloud services, bot-API development, Backend of website and app, etc.
Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.
Still confused: Deep Understanding
Each and Every web browser has its own JavaScript engine. Google developed V8 for Chrome and other Chromium-based browsers (including Microsoft Edge), Mozilla made SpiderMonkey for Firefox, and Apple’s Safari uses JavaScriptCore. Each engine decides what features to implement, and how to implement them.