JS is equal to JavaScript. The following is the explanation:
JavaScript is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types. Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML (an application under Standard Universal Markup Language) web pages to add dynamic functions to HTML web pages. .
In 1995, it was first designed and implemented on the Netscape Navigator browser by Brendan Eich of Netscape. 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.
In order to gain technical advantages, Microsoft launched JScript, and CEnvi launched ScriptEase, which can also run on the browser like JavaScript. In order to unify specifications, JavaScript is also called ECMAScript because it is compatible with the ECMA standard.
Foreign name: JavaScript
Release date: 1992
Designer: Brendan Eich
Implementer: Netscape, Mozilla Foundation
Programming paradigm: scripting language, prototype-based object-oriented
Morphological system: dynamic type
Origin: United States
Composition Part
ECMAScript describes the syntax and basic objects of the
javascript component
language.
Document Object Model (DOM) describes the methods and interfaces for processing web content.
Browser Object Model (BOM) describes the methods and interfaces for interacting with the browser.
Basic features
JavaScript is a network scripting language that has been widely used in Web application development. It is often used to add various dynamic functions to web pages and provide users with Provide a smoother and more beautiful browsing effect. Usually JavaScript scripts realize their functions by embedding them in HTML.
It is an interpreted scripting language (the code is not precompiled).
It is mainly used to add interactive behaviors to HTML (an application under Standard Universal Markup Language) pages.
It can be directly embedded in HTML pages, but writing it as a separate js file is beneficial to the separation of structure and behavior.
Cross-platform feature, with the support of most browsers, it can run on multiple platforms (such as Windows, Linux, Mac, Android, iOS, etc.).
Javascript scripting language, like other languages, has its own basic data types, expressions and arithmetic operators, and the basic program framework of the program. Javascript provides four basic data types and two special data types for processing data and text. Variables provide a place to store information, and expressions can complete more complex information processing.
Daily use
Embed dynamic text in HTML pages.
Respond to browser events.
Read and write HTML elements.
Validate data before it is submitted to the server.
Detect visitors’ browser information.
Control cookies, including creation and modification.
Server-side programming based on Node.js technology.
History
It was originally designed by Brendan Eich of Netscape. 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. The complete JavaScript implementation consists of three parts: ECMAScript, Document Object Model, and Browser Object Model.
Netscape initially named its scripting language LiveScript. Later, Netscape changed its name to JavaScript after cooperating 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. In order to gain a technical advantage, Microsoft launched JScript to compete with JavaScript's scripting language. For interoperability, Ecma International (formerly the European Computer Manufacturers Association) created the ECMA-262 standard (ECMAScript). Both are implementations of ECMAScript. Although JavaScript is promoted and advertised as a scripting language for non-programmers rather than as a scripting language for programmers, JavaScript is very feature-rich.
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. 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.
Part of the above information comes from Baidu Encyclopedia