1. Standard built-in objects
The term “global objects” (or standard built-in objects) here is not to be confused with the global object. Here, global objects refer to objects in the global scope. The global object itself can be accessed using the
this operator in the global scope (but only if ECMAScript 5 strict mode is not used; in that case it returns
undefined). In fact, the global scope consists of the properties of the global object, including inherited properties, if any.
Window interface represents a window containing a DOM document; the
documentproperty points to the DOM document loaded in that window. A window for a given document can be obtained using the
A global variable,
Window interface is home to a variety of functions, namespaces, objects, and constructors which are not necessarily directly associated with the concept of a user interface window. However, the
In a tabbed browser, each tab is represented by its own
Window object; the global
innerHeight. Generally, anything that can't reasonably pertain to a tab pertains to the window instead.
3. DOM (Document Object Model)
The DOM (Document Object Model) is an API that represents and interacts with any HTML or XML document. The DOM is a document model loaded in the browser and representing the document as a node tree, where each node represents part of the document (e.g. an element, text string, or comment).
The DOM is one of the most-used APIs on the Web because it allows code running in a browser to access and interact with every node in the document. Nodes can be created, moved and changed. Event listeners can be added to nodes and triggered on occurrence of a given event.
객체 자바스크립트는 객체 기반 프로그래밍 언어이다. 객체를 구성하는 요소로는 속성Property와 기능 Me...blog.naver.com