JavaScript

From Wiki @ Karl Jones dot com
Revision as of 10:49, 4 June 2015 by Karl Jones (Talk | contribs) (-s)

Jump to: navigation, search

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