Home > Web Front-end > JS Tutorial > Relationship diagram of various types of JavaScript_javascript skills

Relationship diagram of various types of JavaScript_javascript skills

WBOY
Release: 2016-05-16 15:36:32
Original
1214 people have browsed it

The difference between built-in objects and native (Naitve) objects is that the former is always created during the engine initialization phase and is a subset of the latter; while the latter includes some objects that are created during the running process Dynamically created objects.

In addition, please add some concepts used in the picture:

1. The difference between built-in objects and native (Naitve) objects is that the former is always an object created during the engine initialization phase and is a subset of the latter; while the latter includes some Objects created dynamically during runtime.

2. Engine extension objects are a not too large set. Generally speaking, they are relatively certain. They also belong to the native objects of the engine (but do not belong to the native objects of the ECMA specification).

3. The host object is not a native object of the engine, but an object registered by the host framework into the JavaScript engine through some mechanism.

4. Some hosts will also call the objects/constructors they provide as "native objects". For example, Internet Explorer 7 calls the XMLHttpRequest() it provides native - in contrast, in its Objects created by methods such as "new ActiveXObject('Microsoft.XMLHTTP')" in earlier versions. In this case, readers should note the difference between "host's native objects" and "engine's native objects".

I hope this picture can help everyone better understand the relationship between various types of JavaScript and gain some insights.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template