Home >Web Front-end >Front-end Q&A >Does JavaScript contain BOM?

Does JavaScript contain BOM?

青灯夜游
青灯夜游Original
2021-11-03 17:42:541844browse

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.

Does JavaScript contain BOM?

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).

Does JavaScript contain BOM?

  • 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!

Statement:
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