-->

Sunday, April 5, 2015

Introduction to Java Script

Introduction to Java Script

Java Script is used in many of Web pages to improve the design, validate forms and create cookies.
JavaScript is the popular scripting language on the internet, and works in all major browser, such as Internet Explorer, Opera and Firefox.
JavaScript, despite the name, is essentially not related to Java programming language, both have the common C syntax, and JavaScript copies many Java names and naming conversions. The language was initially named "LiveScript" but was renamed in a co-marketing deal between Sun and Netscape in exchange for Netscape bundling Sun's Java runtime with their dominant browser. key design principles within JavaScript are inherited from the Self and Scheme programming languages.

History

JavaScript was developed by Brendan Eich of Netscape under the name Mocha, which was later renamed to 'LiveScript', and finallt to JavaScript. Change of name from LiveScript to JavaScript roughly coincided with Netscape adding support for Java technology in its Netscape navigator web browser. JavaScript was first introduced in the Netscape browser version 2.0B3 in December 1995. Naming was caused confusion, giving the impression that language is a spin -off  of Java, and it has been characterized by many as a marketing ploy by Netscape to give JavaScript the cachet of what was then the hot new web -programming language.
Microsoft named its dialect of language JScript to avoid trademark issues. JScript was first supported in Internet Explorer version 3.0 released in August 1996, and it included Y2K-compliant date functions, unlike those based on java.util.Date in JavaScript at the time. Dialects are perceived to be so similar that the terms "JavaScript" and "JScript" are often used interchangeably Microsoft notes dozens of ways in which JScript is not ECMA complaint.
Netscape submitted JavaScript to ECMA International for standardization resulting in standardized version named ECMAScript.

JavaScript

  1. Java Script is a scripting language.
  2. Java Script was designed to add interactivity to HTML pages.
  3. A Scripting language is a lightweight programming language.
  4. Java Script is an interpreted language (means that scripts execute without preliminary compilation)
  5. Java Script is usually embedded directly into HTML pages.
  6. Everyone can use Java Script without purchasing a licence.

Read other related articles

Also read other articles

© Copyright 2013 Computer Programming | All Right Reserved