Day 1 : JavaScript


Basics of JavaScript

Now-a-days , JavaScript is the mostly used language. So we are going to understand important concepts in detail. First we are.going to start with basics.

History :

  •  JavaScript was invented by Brendan Eich in 1995.
  • ECMAScript is the official name of the JavaScript.Therefore whenever we refer versions of JavaScript , we say ECMAScript.
  • The current version of JavaScript is ECMAScript 5 and ECMAScript 6 is developing.
  • JavaScript did not have exception handling until ECMAScript 3. This version explains why language automatically converts values.
  • JavaScript uses semicolon at end of statement.

Introduction :

  • JavaScript is a object-oriented , dynamic programming language.
  • The JavaScript code should be written in script.
  • JavaScript is a case-sensitive language.
  • Datatypes are infered(Implicit i.e right side data is checked first) in JavaScript.

Example of JavaScript :

Program :
Output :                                                                            
As we see in above eg. the var keyword gets numeric as well as string value.

Thank You!!!



For more information watch below video :

Comments

Popular posts from this blog

Day 3 : JavaScript

SQL Concepts-1

ASP .NET Session Management