Client JavaScript
The Window object is the primary access point for all client JavaScript features and APIs. It represents a window or form in a Web browser and can be referenced using the identifier window. The Window object defines some properties, such as the Location property of the Location object. The Window object also defines some methods, such as alert (), settimeout ().
Note that the above code does not explicitly use the Window property. Javascript,window objects are also global objects on the client.
One of the most important properties in the Window object is document, which refers to the Document object, which represents the documents in the display window. The Document object has some important methods.
Two very important data types in JavaScript are objects and arrays
Three types of JavaScript objects are distinguished from two types of attributes: built-in objects (native object) are objects and classes defined by the ECMAScript specification, such as arrays, functions, dates, and regular expressions are built-in objects. A host object is a hosted environment (such as a Web browser definition) that is embedded by the JavaScript interpreter. The HtmlElement object of the Web page structure represented in client JavaScript is the host object. Custom objects have property inherited properties that are defined in the object's prototype object.