jsWhat does it mean:
JavaScript ("JS" for short) is a lightweight, interpreted, or immediate Compiled programming language.
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 and declarative (like functional programming) styles.
It was originally designed by Brendan Eich of Netscape. Netscape originally named its scripting language LiveScript, and later Netscape changed its name to JavaScript after cooperating with Sun.
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.
Extended information
The JavaScript script language has the following characteristics:
1. Scripting language
JavaScript is an interpreted scripting language. Languages such as C and C are compiled first and then executed, while JavaScript is interpreted line by line during the running of the program.
2. Object-based
JavaScript is an object-based scripting language. It can not only create objects, but also use existing objects.
3. Simple
The JavaScript language uses weakly typed variable types and does not impose strict requirements on the data types used. It is a scripting language based on Java's basic statements and controls. Its design is simple and compact.
4. Dynamic
JavaScript is an event-driven scripting language that can respond to user input without going through a Web server. When visiting a web page, JavaScript can directly respond to these events when the mouse is clicked, moved up or down, or moved in the window.
5. Cross-platform
The JavaScript script language does not depend on the operating system and only requires browser support. Therefore, after writing a JavaScript script, it can be brought to any machine for use, provided that the browser on the machine supports the JavaScript scripting language. Currently, JavaScript is supported by most browsers.
Recommended tutorial: "JS Tutorial"
The above is the detailed content of What does js mean?. For more information, please follow other related articles on the PHP Chinese website!