JavaScript Advanced Programming (reading notes) (i)

Source: Internet
Author: User

This note summarizes the first seven chapters of the book, which the authors consider the "advanced programming of JavaScript", for informational purposes only.

Introduction to JavaScript in the first chapter

A brief history of JavaScript development:

    • 1995, JavaScript was born
    • Published in 1997 by the 39th Technical Committee designated by the European Computer Manufacturing Association (Ecma,european Computer Manufactures association), the ECMAScript scripting language standard
    • 1998, ISO/IEC adopted the ECMA standard

The relationship between JavaScript and ECMAScript:

The ECMAScript defined by ECMA-262 does not have a dependency on the Web browser, and the language does not include the input and output definitions. ECMA-262 defines only the basis of this language, and Web browsers are just one of the possible hosting environments for ECMAScript implementations. The hosting environment not only provides a basic ECMAScript implementation, but also provides an extension of the language for the interface between the language and the environment. These extensions, such as DOM, use the core type and syntax of ECMAScript to provide more specific functionality to enable operations against the environment. Other hosting environments include node (a server-side JavaScript platform) and Adobe Flash.

ECMA-262 the language component of the provisions:

    • Grammar
    • Type
    • Statement
    • Key words
    • Reserved words
    • Operator
    • Object

The complete JAVASCIRPT implementation:

    • Core (ECMAScript), defined by ECMA-262, provides core language functions;
    • Document Object Model (DOM), which provides methods and interfaces for accessing and manipulating Web page content;
    • A Browser object model (BOM) that provides methods and interfaces for interacting with the browser.

The three components of JavaScript are supported in varying degrees in the current five major browsers (IE, Firefox, Chrome, Safari, and Opera). Of these, all browsers support ECMAScript version 3rd is generally good, while the support for ECMASCRIPT5 is increasing, but the support for Dom is quite different from each other. For BOMs that have been formally incorporated into the HTML5 standard, other features may vary by browser, although each browser implements some well-known common features.

JavaScript Advanced Programming (reading notes) (i)

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.