JavaScript

Share This
« Back to Glossary Index
  • Rating:
  • (2166)

JavaScript is a scripting language developed to enable Web developers to design interactive sites. Although it shares many of the features and structures of the full Java language, it was developed independently. Javascript can interact with HTML source code, enabling Web authors to spice up their sites with dynamic content. (Source: WebOpedia)

JavaScript (Wikipedia)
JavaScript
JavaScript-logo.png
Paradigm Multi-paradigm: scripting, object-oriented (prototype-based), imperative, functional
Designed by Brendan Eich
Developer Netscape Communications Corporation, Mozilla Foundation, Ecma International
First appeared May 1995; 20 years ago (1995-05)
Stable release ECMAScript 6 / June 17, 2015; 5 months ago (2015-06-17)
Typing discipline dynamic, duck
Major implementations
Carakan, Chakra, KJS, Nashorn, Rhino, SpiderMonkey, V8
Influenced by
Lua, Scheme, Perl, Self, Java, C, Python, AWK, HyperTalk
Influenced
ActionScript, AtScript, CoffeeScript, Dart, JScript .NET, Objective-J, QML, TypeScript, LiveScript
JavaScript
Javascript icon.svg
Filename extension .js
Internet media type
  • application/javascript
  • text/javascript (obsolete)
Uniform Type Identifier (UTI) com.netscape.javascript-source
Type of format Scripting language

JavaScript (/ˈɑːvəˌskrɪpt/) is a high-level, dynamic, untyped, and interpreted programming language. It has been standardized in the ECMAScript language specification. Alongside HTML and CSS, it is one of the three essential technologies of World Wide Web content production; the majority of websites employ it and it is supported by all modern web browsers without plug-ins. JavaScript is prototype-based with first-class functions, making it a multi-paradigm language, supporting object-oriented,imperative, and functional programming styles. It has an API for working with text, arrays, dates and regular expressions, but does not include any I/O, such as networking, storage or graphics facilities, relying for these upon the host environment in which it is embedded.

Despite some naming, syntactic, and standard library similarities, JavaScript and Java are otherwise unrelated and have very different semantics. The syntax of JavaScript is actually derived from C, while the semantics and design are influenced by the Self and Scheme programming languages.

JavaScript is also used in environments that are 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. It is also used in game development, the creation of desktop and mobile applications, and server-side network programming with runtime environments such as Node.js.

About David Rashty

David Rashty, an entrepreneur and one of the early web pioneers, has over twenty years’ experience as a CTO and a CEO. David is the funder and CEO of CreativeMinds which focus on WordPress and Magento products.