# Javascript(JS) vs ECMAScript(ES)

JavaScript and ECMAScript are related general-purpose scripting languages, but they are not exactly the same thing. Both of these languages are supported by the latest web browsers, and hence, can be integrated to make a responsive web page or site.

ECMA in full is **European Computer Manufacturer's Association**. It is a programming language that can be utilized for client-side scripting over the **"WWW(world wide web)"**. ECMAScript(ES) is a standard for scripting languages such as Javascript. **ES** defines the rules, details, and guidelines the scripting must observe to be considered ECMAScript compliant. However, **ES** specification is a blueprint/trademark for creating a scripting language.

**Javascript** on the other hand is a lightweight interpreted or [JIT-compiled](https://en.m.wikipedia.org/wiki/Just-in-time_compilation) programming language based on the ECMAScript specification. However, it is the implementation of that blueprint/ ECMAScript specification. This programming language has been embedded in various web browsers, and every browser contains a javascript interpreter to support it. Javascript is utilized on both the client and server-side platforms.

---

**Comparison between Javascript and ECMAScript**

| JAVASCRIPT | ECMASCRIPT |
| --- | --- |
| It is an implementation of ES standard | It is a specification |
| Javascript is mainly used for front-end development | ES is a subset of JS and is used for front-end development |
| It is written in plain text | Its sole purpose is to create a format for JS users |
| Its work is prototype-base | ES is used for client-side scripting on the world wide web |
| Javascript programming requires a text editor | Javascript is based on ECMAScript |

**Conclusion**

Javascript and ECMAScript are both programming languages. ECMAScript serves as a standard for scripting languages and Javascript is the implementation of this standard. It is such that one (javascript) is based on another (ECMAScript).
