What is JavaScript?
JavaScript
is a lightweight
, scripting language
which helps in creating interactive web pages.
JavaScript
is used to program the behavior of web pages because it can update and change both HTML
and CSS
.
JavaScript
can manipulate calculate, and validate data. It is most commonly used as a part of web pages,
whose implementations allow a client-side script to interact with the user and make pages dynamic.
It is an interpreted programming language with object-oriented
capabilities (OOPs concept).
History of Javascript?
Lets see the important landmark in the history of Javascript:
- <
Javascript
was launched by Brendan Eich inSeptember 1995
, and it took just ten days to develop this scripting language which was initially called Mocha. ECMA-262
is the official name of the standard.ECMAScript
is the official name of the language.- Netscape submitted JavaScript to ECMA (European Computer Manufacturers Association) International in November 1996.
- It became an ECMA standard in 1997 and ECMAScript 2 was released in 1998.
- In 1999,
ECMAScript 3
was released. - In 2005, Eich and Mozilla joined ECMA to develop E4X Javascript.
- In January 2009, the CommonJS project was launched with the goal of defining a common standard library.
- In June 2011,
ECMAScript 5.1
was released. - In June 2015,
ECMAScript 2016
was released. - The latest version is
ECMAScript 2017
which was released in June 2017.
Features of Javascript
Lets see the important landmark in the history of Javascript:
- It is an open and cross-platform language.
- It is used for both client side and server side but client-side mechanism provides many advantages over traditional CGI server-side scripts.
- It is easy to learn and to start.
- It is a dynamic language: flexible and powerful.
- You are free to do whatever you want with any object.
- Strong Testing Workflow
- Added Dependencies
- Framework Unsupported
Advantages of JavaScript
Lets see the important landmark in the history of Javascript:
- Less server interaction − User input is validated before sending the page off to the server. This leads to less server traffic, which means less load on your server.
- Immediate feedback to the users − Users don't have to wait for a page reload to check if they have forgotten to enter something or not.
- Increased interactivity − You can create interfaces that react when the user activates them via the keyboard or hovers over them with a mouse.
- Richer interfaces − You can use JavaScript to include items such as drag-and-drop components and sliders to give a Rich Interface to your site visitors.
Disadvantages of JavaScript
Lets see the important landmark in the history of Javascript:
- Client-side JavaScript does not allow the reading or writing of files because this kept for security reason.
- JavaScript cannot be used for networking applications because there is no such support available for this.
- JavaScript doesn't have any multiprocessor or multi-threading capabilities.