Home>Article>Web Front-end> What program is JavaScript?

What program is JavaScript?

藏色散人
藏色散人 Original
2021-10-18 15:43:31 1724browse

JavaScript is a lightweight, interpreted or just-in-time compiled programming language with function priority; JavaScript is a dynamic scripting language based on prototype programming, multi-paradigm, and supports object-oriented, imperative, and declarative , functional programming paradigm.

What program is JavaScript?

The operating environment of this article: windows7 system, javascript version 1.8.5, DELL G3 computer

What is JavaScript?

JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigm.

JavaScript was first designed and implemented in 1995 by Brendan Eich of Netscape Company on the Netscape Navigator browser. Because Netscape was working with Sun, Netscape management wanted it to look like Java, hence the name JavaScript. But in fact its grammatical style is closer to Self and Scheme.

The standard for JavaScript is ECMAScript. As of 2012, all browsers fully support ECMAScript 5.1, and older browsers support at least the ECMAScript 3 standard. On June 17, 2015, ECMA International released the sixth edition of ECMAScript, which is officially called ECMAScript 2015, but is often called ECMAScript 6 or ES2015.

Generation Background

JavaScript was originally designed by Brendan Eich of Netscape, who initially named its scripting language LiveScript. Netscape later renamed it JavaScript after collaborating with Sun . JavaScript was originally inspired by Java and was designed. One of the purposes is to "look like Java", so there are similarities in syntax, and some names and naming conventions are also borrowed from Java, but the main design principles of JavaScript are derived from Self and Scheme . The similarity in names between JavaScript and Java was the result of Netscape reaching an agreement with Sun Microsystems for marketing reasons at the time. Microsoft also launched JScript at the same time to compete with the JavaScript scripting language.

In the early days of development, the standard of JavaScript was not yet determined. During the same period, there were three pillars: Netscape's JavaScript, Microsoft's JScript and CEnvi's ScriptEase. For interoperability, Ecma International (formerly the European Computer Manufacturers Association) created the ECMA-262 standard (ECMAScript), both of which are implementations of ECMAScript, although JavaScript is intended as a scripting language for non-programmers, not as a programmer People use scripting languages to promote and advertise, but JavaScript has very rich features. [10] In 1997, under the coordination of ECMA (European Computer Manufacturers Association), a working group composed of Netscape, Sun, Microsoft, and Borland determined a unified standard: ECMA-262. The complete JavaScript implementation consists of three parts: ECMAScript, Document Object Model, and Browser Object Model. [9]

JavaScript is a registered trademark of Oracle Corporation. Ecma International developed the ECMAScript standard based on JavaScript. JavaScript can also be used in other situations, such as server-side programming (Node.js).

Reference materials: http://bk.baidu.com/view/16168.htm

Recommended study: "javascript basic tutorial"

The above is the detailed content of What program is JavaScript?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn