Ecmascript object (JavaScript)

Source: Internet
Author: User

Generally, three types of objects can be created and used:

 

1. Native object)

 

Definition: objects provided by ecmascript implementation independent of the host environment

(Actually the class defined by the ECMA-262)

 

Object Function Array string Boolean number date Regexp error evalerror rangeerror

Referenceerror syntaxerror typeerror urierror

 

 

 

 

2. build-in object)

(In fact, both built-in and local objects do not need to be instantiated because they have been instantiated)

ECMAscript-262 only defines two built-in objects

Global, math

 

 

3. Host Object

 

All non-local objects are host objects (in fact, all BOM and DOM objects are host 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.