JavaScript is a literal-translation scripting language, which is a dynamic type, a weak type, a prototype-based language, and a built-in support type.
History :
It was originally designed by Netscape's Brendan Eich. JavaScript is a registered trademark of Oracle Corporation. ECMA International has developed a ECMAScript standard based on JavaScript. JavaScript can also be used in other contexts, such as server-side programming. The complete JavaScript implementation consists of three parts: ECMAScript, the Document object model, and the browser object model. Netscape initially named LiveScript in its scripting language, and later Netscape renamed it JavaScript after working with Sun. JavaScript was originally designed to be inspired by Java, and one of the purposes was to "look like Java", so there are grammatical similarities, and some names and naming conventions are borrowed from Java. But JavaScript's main design principles are derived from self and scheme. The approximation of JavaScript and Java names was the result of Netscape's agreement with Sun Microsystems for marketing purposes. To gain a technical advantage, Microsoft has introduced JScript to the scripting language of JavaScript. For interoperability, ECMA International (formerly the European Association of Computer Manufacturers) created the ECMA-262 Standard (ECMAScript). both belong to the realization of ECMAScript. Although JavaScript is promoted and advertised as a scripting language for non-program personnel, rather than as a scripting language for program personnel, JavaScript
Has a very rich nature.
In the early stages of development, JavaScript standards were not determined, with Netscape JavaScript, Microsoft's JScript, and Cenvi's scriptease three pillars. In 1997, in coordination with the ECMA (European Association of Computer Manufacturers), a working group comprising Netscape, Sun, Microsoft, and Borland established the Unified Standard: ECMA-262.
Role:
1, is an explanatory scripting language (code is not precompiled).
2, mainly used to add interactive behavior to HTML (an application under standard Universal Markup Language) page.
3, can be directly embedded HTML page, but written as a separate JS file is conducive to the separation of structure and behavior.
4, cross-platform features, under the support of most browsers, can be run on a variety of platforms (such as Windows, Linux, Mac, Android, iOS, etc.)
Basic syntax (variables, expressions, scopes, various keywords, and process Control statements)
Cond...
What is the JavaScript language, its history, its function, its basic syntax (variables, expressions, scopes, various keywords and process Control statements), array processing, JSON, closures (closure).