Also found in: Dictionary, Thesaurus, Medical, Financial, Acronyms, Wikipedia.


(computer science)
A scripting language that is added to standard HTML to create interactive documents.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.


(Formerly "LiveScript") Netscape's simple, cross-platform, World-Wide Web scripting language, only very vaguely related to Java (which is a Sun trademark). JavaScript is intimately tied to the World-Wide Web, and currently runs in only three environments - as a server-side scripting language, as an embedded language in server-parsed HTML, and as an embedded language run in web browsers where it is the most important part of DHTML.

JavaScript has a simplified C-like syntax and is tightly integrated with the browser Document Object Model. It is useful for implementing enhanced forms, simple web database front-ends, and navigation enhancements. It is unusual in that the scope of variables extends throughout the function in which they are declared rather than the smallest enclosing block as in C.

JavaScript originated from Netscape and, for a time, only their products supported it. Microsoft now supports a work-alike which they call JScript. The resulting inconsistencies make it difficult to write JavaScript that behaves the same in all browsers. This could be attributed to the slow progress of JavaScript through the standards bodies.

JavaScript runs "100x" slower than C, as it is purely interpreted (Java runs "10x" slower than C code). Netscape and allies say JavaScript is an "open standard" in an effort to keep Microsoft from monopolising web software as they have desktop software. Netscape and Sun have co-operated to enable Java and JavaScript to exchange messages and data.

See also VBScript.

Usenet newsgroup: news:comp.lang.javascript.

Mailing List: <> ("subscribe javascript" in body).
This article is provided by FOLDOC - Free Online Dictionary of Computing (


A widely used programming language that is embedded within the HTML of Web pages. Developed in 1995 and supported by all Web browsers, JavaScript enables interactive functions to be added to Web pages, which are otherwise static. JavaScript evolved from Netscape's LiveScript language, not from Java.

As of HTML Version 5, JavaScript was formalized as part of HTML, thus turning HTML from a presentation language into a programming language. See HTML5.

JavaScript Is Plain Text
JavaScript source code is plain text that resides between Begin-Script and End-Script HTML tags in the Web page. Along with myriad other functions, JavaScript is used to enable interactive page elements such as navigation buttons and drop-down menus. It is also used to identify the page to analytics servers that capture traffic statistics. See JScript, TypeScript, ECMAScript, Dojo and VBScript.

JavaScript vs. Java
Because JavaScript is executed merely by retrieving a page from any website, it cannot be used to access local files and probe the user's computer (JavaScript is "sandboxed"). Java, on the other hand, is a full-blown programming language that can manipulate any resource in the computer. Although there are commonalities, JavaScript is not a subset of Java, but they both may be used in the same Web-based system. For example, JavaScript could display a data entry form and validate the input, while a Java program in the server processes the information. In addition, JavaScript remains as human-readable text, while Java source code is converted into a binary format (see bytecode). See Java and servlet.

A Low-Level Replacement for JavaScript
JavaScript is an interpreted language, which means the source code remains as readable text the way the programmer wrote it. A runtime engine has to analyze (parse) the text statements before it can execute them. Twenty years after the creation of JavaScript, WebAssembly was created to provide a lower-level bytecode language that is executed much faster than the source code (see WebAssembly).

JavaScript Is Always Visible
JavaScript code is embedded in a Web page and easily viewed as in this Opera browser on a Mac. The blue text is the HTML page rendering language, and the brown is JavaScript. In this example, the JavaScript causes navigation buttons to change color when the mouse rolls over them and to jump to another page when clicked. See HTML.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
"Because of this, JavaScript attacks have become the go-to method for threat actors to target digital businesses, their customers, and their employees in a stealthy manner."
The JS Foundation's mission is to drive broad adoption and ongoing development of key JavaScript solutions and related technologies through ongoing efforts and services such as mentorship programs, events and support of web standards.
That is, it protects some crucial functionality of HTML and JavaScript code in web applications so that they cannot be exploited by attackers, instead of eliminating vulnerabilities like sanitization.
Rowling, Croll writes, "is a masterful storyteller, crafting tight, intricate, highly imaginative plotlines and delivering them in simple, no-nonsense prose that is always articulate but never gets in the way." Rowling's Javascript is perfectly suited to her, built on a magical function she names "mumbleMore." In Kafka's case, Croll emphasizes the author's dark side.
And JSON is "Javascript Object Notation" which, if you haven't guessed, is Javascript-orientated.
Dynamic analyses can analyze the various behaviors of malicious JavaScript code.
"JavaScript is a great thing, it allows things like Gmail and Google Maps and a whole bunch of Web 2.0 applications; but it also opens up a lot of security vulnerabilities," said Sorin Lerner.
According to the company, Opera Mobile 10.1 for Symbian introduces just-in-time compilation (JIT) performance optimisation to the Carakan JavaScript engine.
At least that's Microsoft's hope with IE9, which brings new HTML5 support ( including HTML5 video!), hardwareaccelerated 2D graphics, and a totally new JavaScript engine-- and no XP support." It added: " Modern web apps are loaded with JavaScript, to the point that new browsers are practically measured by how fast they can render it.
Dean Hachamovitch, general manager of Internet Explorer at Microsoft, unveiled the Internet Explorer 9 Platform Preview including expanded support for HTML5, hardware-accelerated graphics and text, and a new JavaScript engine.