JavaScript Basic Tutorial


 

JavaScript Basic Tutorial

JavaScript Basic Tutorial: In this tutorial you will get to know about the basics of javascript, features of it. Sub pages will let you know javascript in details.

JavaScript Basic Tutorial: In this tutorial you will get to know about the basics of javascript, features of it. Sub pages will let you know javascript in details.

JavaScript Basic Tutorial

JavaScript is an object-oriented scripting language, it is dynamic, weakly typed, prototype-based language. It was developed by Brendan Eich of Netscape Navigator. At first it was named Mocha, then LiveScript and at last JavaScript. Since Netscape supports Java, that's why the name coined as JavaScript.

JavaScript, though the name has a resemblance with Java, these are unrelated.

Features of JavaScript:

  1. Prototypes: JavaScript uses prototypes instead of classes for inheritance.
  2. Dynamic typing: Like other scripting languages it supports dynamic typing, i.e. types are associated with values, not variables.
  3. Object Oriented Programming: JavaScript supports OOP.
  4. Functions: Functions are first-class, they are objects themselves.
  5. Imperative and Structured: Most of the syntax of JavaScript is like 'C', except few like expressions, statements, and semicolon insertion.
  6. Run time environment: JavaScript depends on the run time environment, i.e. web browsers.
  7. Regular expressions: JavaScript supports regular expression     

 

Ads