JavaScript is a scripting language widely used for client-side
web development. It was the originating dialect of the ECMAScript
standard. It is a dynamic, weakly typed, prototype-based
language with first-class functions. JavaScript was influenced
by many languages and was designed to look like Java, but
be easier for non-programmers to work with.[1][2]
Although best known for its use in websites (as client-side
JavaScript), JavaScript is also used to enable scripting
access to objects embedded in other applications (see below).
JavaScript, despite the name, is essentially unrelated
to the Java programming language, although both have the
common C syntax, and JavaScript copies many Java names and
naming conventions. The language's name is the result of
a co-marketing deal between Netscape and Sun, in exchange
for Netscape bundling Sun's Java runtime with their then-dominant
browser. The key design principles within JavaScript are
inherited from the Self and Scheme programming languages.[3]
"JavaScript" is a trademark of Sun Microsystems.
It was used under license for technology invented and implemented
by Netscape Communications and current entities such as
the Mozilla Foundation.[4]
JavaScript was originally developed by Brendan Eich of
Netscape under the name Mocha, which was later renamed to
LiveScript, and finally to JavaScript.[5] The 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 and
deployed in the Netscape browser version 2.0B3 in December
1995. The naming has caused confusion, giving the impression
that the 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.[6][7]
Due to the widespread success of JavaScript as a client-side
scripting language for web pages, Microsoft developed a
compatible dialect of the language, naming it JScript to
avoid trademark issues. JScript added new date methods to
fix the non-Y2K-friendly methods in JavaScript, which were
based on java.util.Date.[2] JScript was included in Internet
Explorer 3.0, released in August 1996. The dialects are
perceived to be so similar that the terms "JavaScript"
and "JScript" are often used interchangeably.
Microsoft, however, notes dozens of ways in which JScript
is not ECMA compliant.
Netscape submitted JavaScript to Ecma International for
standardization resulting in the standardized version named
ECMAScript.[8]
The flexibility of JavaScript has made it one of the most
popular programming languages on the web and also one of
the easier languages to learn. In regards to demographics,
the language is extremely widespread in India with the United
States, Russia and Ukraine also using it as a staple in
their online programming. As the web continues to expand,
the use of JavaScript looks like it will become more popular
especially in Europe and Asia.