Difference between revisions of "JavaScript"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(JavaScript topics)
(JavaScript syntax)
Line 22: Line 22:
 
* [[JavaScript associative arrays|Associative array]]
 
* [[JavaScript associative arrays|Associative array]]
 
* [[JavaScript objects|Object]]
 
* [[JavaScript objects|Object]]
 +
* [[JavaScript syntax]]
 
* [[JavaScript topics]]
 
* [[JavaScript topics]]
 
* [[JSON]]
 
* [[JSON]]

Revision as of 06:36, 18 August 2015

JavaScript (/ˈdʒɑːvɑːˌskrɪpt/; JS), also known as ECMAScript, is a dynamic programming language.

It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed.

It is also used in server-side network programming with runtime environments such as Node.js, game development and the creation of desktop and mobile applications.

JavaScript is classified as a prototype-based scripting language with dynamic typing and first-class functions. This mix of features makes it a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles.

Despite some naming, syntactic, and standard library similarities, JavaScript and Java are otherwise unrelated and have very different semantics.

JavaScript is also used in environments that aren not web-based, such as PDF documents, site-specific browsers, and desktop widgets.

Newer and faster JavaScript virtual machines (VMs) and platforms built upon them have also increased the popularity of JavaScript for server-side web applications.

On the client side, JavaScript has been traditionally implemented as an interpreted language, but more recent browsers perform just-in-time compilation.

JavaScript has been standardized in the ECMAScript language specification.

See also

External links