JavaScript

Home > JavaScript

What is JavaScript?

JavaScript is a very powerful client-side scripting language. JavaScript is used mainly for enhancing the interaction of a user with the webpage. In other words, you can make your webpage more lively and interactive, with the help of JavaScript. JavaScript is also being used widely in game development and Mobile application development.
How to use JavaScript?

Being a scripting language, JavaScript cannot run on its own. In fact, the browser is responsible for running JavaScript code. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it is up to the browser to execute it. The main advantage of JavaScript is that all modern web browsers support JavaScript. So, you do not have to worry about whether your site visitor uses Internet Explorer, Google Chrome, Firefox or any other browser. JavaScript will be supported. Also, JavaScript runs on any operating system including Windows, Linux or Mac. Thus, JavaScript overcomes the main disadvantages of VBScript (Now deprecated) which is limited to just IE and Windows.

History of JavaScript?

JavaScript was created by American technologist Brendan Eich in 1995 during the early days of the internet. He was recruited by Netscape Communication which required a scripting language for its popular web-browser Netscape Navigator. To defend the idea of JavaScript against competing proposals, Eich wrote the whole language in 7 days in May 1995.

Although it was officially called LiveScript which it was first shipped with Netscape Navigator 2.0 in September 1995, it was renamed to JavaScript in December 1995. It was a marketing ploy by Netscape to give it a name similar to the most popular language at the time i.e. Java.

In November 1996, Netscape submitted JavaScript to ECMA International, which is the international standardization organization. Since then JavaScript is also known as ECMAScript and its various versions are released by ECMA. The biggest update in JavaScript was made by ECMA in 2015 and is known as ES6 version(or ES2015).

JavaScript was challenged in the past by VBScript, JScript, Flash but it always came out as a winner and became the de-facto scripting language of web-browser and the web in general. With the popularity of SPA(Single Page Application) in React and Angular and also Server side implementation with NodeJS, JavaScript is not slowing down in the future.

Version Of JavaScript

JavaScript ECMAScript (1997) :

first edition of the ECMAScript 1 standard in June 1997, with JavaScript being the most well known of the implementations. ActionScript and JScript were other well-known implementations of ECMAScript.

JavaScript ECMAScript 2 (1998):

Primarily editorial changes to keep the specification aligned with the ISO/IEC 16262 international standard for ECMAScript

JavaSrcipt ECMAScript 3 (1999):

December 1999

Added support for regular expressions, improved string handling, new control statements, exception handling, and various numeric output formatting, and more.

JavaSrcipt ECMAScript 4:

Abandoned due to political differences and technical difficulties with the complexity of the language. Some features developed made it into version 5, others deferred for future versions.

JavaSrcipt ECMAScript 5 (2009):

December 2009

Adds Strict mode, clarifies ambiguities, and implemented accommodations for real-world uses of implementations. Adds getters and setters, support for JSON, and reflection on object properties.

JavaSrcipt ECMAScript 5.1 (2011):

June 2011

Release to align with the third edition of the international standard ISO/IEC 16262:2011.

JavaSrcipt ECMAScript (2015):

June 2011

Significant new syntax for building complex applications, including long-awaited direct language support for classes and modules, as well as numerous other language enhancements.

JavaSrcipt ECMAScript (2016):

In this update Added exponential operator (**) and Added Array.prototype.includes.

JavaSrcipt ECMAScript (2017):

In this update Added string padding, Added new Object properties, Added Async functions, Added Shared Memory.

JavaSrcipt ECMAScript (2018):

In this update Added rest / spread properties, Added Asynchronous iteration, Added Promise.finally(), Additions to RegExp.

Future Of JavaScript

Which programming language comes to your mind when you hear the word “software”? We are very sure that JavaScript is among the top languages in your memory. The chief reason behind its constant popularity is the vast usage. Do you know what percentage of developers are using this language? According to Stack Overflow, a popular website used by developers to share their skills, JavaScript is used by 69.8%.

Copyright © Webstore All Rights Reserved.