JavaScript Introduction

JavaScript

JavaScript is one of most popular and widely used programming languages, and growing faster than any other programming languages and components like Netflix and paypal to build a inter application around the javascript

What can you do with JavaScript

In the browser to build a interactive application

Web/mobile apps

Real time networking apps

Games

Where to run the JavaScript code

JavaScrip was originally designed to run the only n the browse is called javascript engine to execute a JavaScript code

Javascript engine are chrome, Firefox, Mozilla, internet explore, etc

Advantages of JavaScript

It separates the html code, t makes html and javascript easier to read as well as maintain

Javascript file it can be speed up the files loads

Javascript is a event based programming languages

Click, double click, right click, mouse hour, mouse down, drag and drop, key press, key up, load, unload, resize, scroll, etc,.

Difference between javascript and ecma script

JavaScript is a programming languages

Ecma script is a just specification, it s responsible for defining standards,

Ecma 262is a general purpose scripting languages, it produces the rules, guidlnes and details about the scripting languages, ecma is called javascript

By reading a ecma specification to learn create a scripting languages.

By reading a javascript to use scripting lanaguages

Ecma Script [ES6/ES15]: adding a new features and improvements in ecma speciation, it has been launched in 2015

 

ES1

1997

1st

ES2

1998

2nd

ES3

1999

3rd

ES4

Abandoned (Lots of error)

4th

ES5

2009

5th

ES6

2015

6th  Major change

ES7

2016

7th

ES8

2017

8th

ES9

2018

9th

ES10

2019

10th

ES11

2020

11th