Home  >  Article  >  Web Front-end  >  What was javascript originally intended to achieve?

What was javascript originally intended to achieve?

藏色散人
藏色散人Original
2021-07-01 14:23:482175browse

Javascript was originally designed to make web pages more vivid. Programs written in JavaScript programming language are called "scripts". They can be written directly in the HTML of a web page and automatically loaded when the page is loaded. Execution; scripts are provided and executed as plain text; they require no special preparation or compilation to run.

What was javascript originally intended to achieve?

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

javascript was originally implemented What?

JavaScript was originally created to "make web pages more alive".

Programs written in this programming language are called scripts. They can be written directly in the HTML of the web page and automatically executed when the page loads.

Scripts are provided and executed as plain text. They require no special preparation or compilation to run.

JavaScript was originally designed by Brendan Eich of Netscape and 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 that 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.

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).

Recommended study: "javascript Advanced Tutorial"

The above is the detailed content of What was javascript originally intended to achieve?. 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
Previous article:What is js in htmlNext article:What is js in html