C# Corner

Resources  

About Javascript

Not to be confused with Java (programming language), Java (software platform), or Japanese script.
JavaScript
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; 8 months ago (2015-06-17)
Typing discipline dynamic, duck
Major implementations
Chakra, SpiderMonkey, V8
Influenced by
Lua, Scheme, Perl, Self, Java, C, Python, AWK, HyperTalk
Influenced
ActionScript, AtScript, CoffeeScript, Dart, JScript .NET, LiveScript, Objective-J, Opa, Perl 6, QML, TypeScript
  • JavaScript at Wikibooks
JavaScript
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 (/'d???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.

  1. ^ Flanagan 2011, pp. 1–2.
  2. ^ "Standard ECMA-262". Ecma International. 2015-06-17.

    SPONSORED BY

    Spire.Doc - Free .NET Word API
    Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
Download Free eBooks