Introduction to JavaScript objects

Source: Internet
Author: User

JavaScript objects can be categorized into three main categories:

1.javascript local objects and built-in objects

2. Browser object (BOM)

3. Document Object (DOM)


One: JavaScript built-in objects

1.Array (Array object)

2.Number (Digital object)

3.String (String object)

4.Boolean (Boolean object)

5.Math (Math object)

6.REGEXP (Regular object)

7.Date (Date Time object)


Two: Browser object (BOM)

1.Window objects:

2.Screen object: Can get information about the screen

3.Navigator: Can get information about the browser

4.history: Browser's history information

5.Location: Information for the current URL


Three: Document Object (DOM)

1.document object: Represents the root of the entire document

Each label in the 2.document element:html

3.document Attribute: Property Object

4.document Event: Events Object

Introduction to JavaScript objects

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.