What is JavaScript?

JavaScript is a multipurpose programming language which was developed to create interactive and dynamic web pages. But today, JavaScript serves much more.

However, JavaScript comes under scripting languages and the codes are termed as Scripts. JavaScript is different from traditional programming languages because the scripts are not compiled, instead, they are interpreted and one command runs at a time.

Birth of JavaScript

Brendan Eich developed JavaScript in the year 1995 under Netscape Communications Corporation. Initially, the name of the language was Mocha; later LiveScript and the motive to introduce this language was to add the web pages to the Netscape Navigator Browser.

Later, in the year 1997, JavaScript was standardized by ECMA International (European Computer Manufacturer Associations) and hence, the official name ECMAScript was given to JavaScript.

Does JavaScript have any relation with Java?

NO! It is true that the name JavaScript says that this language belongs to the family of Java. But this is completely wrong.

Due to the popularity of Java in the '90s, the marketing experts named the language as JavaScript, in order to gain the attention. More of which resulted in creating a myth that JavaScript is related to Java. But, Java and JavaScript have nothing in common between them.

Features of JavaScript

  • JavaScript supports numerous features which enable web developers to create dynamic web pages. To fulfil this purpose, JavaScript has been completely integrated with HTML & CSS.
  • By default, JavaScript is supported by most of the browsers.
  • Along with web development, JavaScript has various in-built functions that make this language multifunctional.
  • With JavaScript, you can decide what happens on clicking a button on your webpage, display pop-up messages, keep a track of data on the local storage etc.

Uses of JavaScript

  • When JavaScript was developed, it was dedicated for the managing the behaviour of web pages. It belongs to the triad of languages necessary for web development.
    1. HTML
    2. CSS
    3. JavaScript
  • You can make your web pages interactive with JavaScript by adding buttons, changing images, validation of forms etc.
  • Using JavaScript, you can also extract data from a database into the web pages.
  • JavaScript is capable of creating hybrid applications for different platforms including Windows, Andriod etc.
  • JavaScript can work with the website's backend as well. Backend involves processing of the data within a website. Node.JS is used for this purpose which is based on JavaScript.

Journey of JavaScript

Version 1: ECMAScript in 1997
After successful standardization of JavaScript by ECMA in 1997, the first version of JavaScript was released which was known as ECMAScript. It included implementation of ActionScript and JScript.

Version 2: ECMAScript 2 in 1998 & Version 3: ECMAScript 3 in 1999
The second version of JavaScript came up with some updations and modifications in ISO/IEC Standards which was followed by the release of ECMAScript 3 in 1999. Version 3 serves as a baseline for the JavaScript till the date.

Version 4: Never released
In 2000, Waldemar Horwat started working on version 4 of JavaScript. But due to some reasons, the progress was paused. Though the work resumed after a few years and its features were integrated with another version.

Version 5: ECMAScript 5 in 2009
After version 3, ECMAScript 3.1 was renamed as ECMAScript 5 and released in 2009. This version had only a few changes.

Version 6: ECMAScript 2016
Afterwards, the versions of JavaScript were named with the year of release. A major update was released with ECMAScript 2016 along with the design and idea of Version 4.

Current Version
The current version of JavaScript was released in 2018 named ECMAScript 2018.

Nowadays, the most used technology is Cloud whose access depends on the browsers. Thus JavaScript is going to be an eminent language in future as it works on the browser, which makes it a very good choice to learn JavaScript.