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

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.