Home > Article > Web Front-end > Does JavaScript contain BOM?
JavaScript contains BOM. BOM is a component of JavaScript and is the basis for client and browser window operations. It provides methods and interfaces for js to interact with the browser. javacsript accesses, controls, and modifies the client (browser) by accessing the BOM object.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
JavaScript contains BOM.
Java Script has three core components: ECMAScript, DOM (Document Object Model), and BOM (Browser Object Model).
Core (ECMAScript): The core part of the language, describing the syntax and basic objects of the language.
Document Object Model (DOM): Web page document operation standard, describing methods and interfaces for processing web page content.
Browser Object Model (BOM): The basis for client and browser window operations, providing methods and interfaces for interacting with the browser.
BOM is the implementation of each browser manufacturer on their respective browsers based on DOM; (shown as different browser definitions and different implementation methods)
javacsript accesses, controls, and modifies the client (browser) by accessing the BOM object.
BOM can access and operate the browser window. Using the BOM, developers can move windows, change text in the status bar, and perform other operations not directly related to the content of the page.
[Recommended learning: javascript advanced tutorial]
The above is the detailed content of Does JavaScript contain BOM?. For more information, please follow other related articles on the PHP Chinese website!