HostObjects
Host objects are objects exposed by the execution environment (the host) to a JavaScript runtime. They are not defined by the JavaScript language specification but by the host, and they provide APIs for interacting with the surrounding environment, such as a web browser or a server runtime. This distinguishes them from native ECMAScript objects like Object, Array, or Date, which are defined by the language standard.
In web browsers, common host objects include window, document, location, history, and navigator, as well as APIs
Key characteristics of host objects are that they are implemented outside the JavaScript engine and are defined
Because host objects depend on the environment, code that uses them can lack portability across different hosts.