- Window
-
DOM (Document object Model)
- html page is made to object and is called DOM
- window is a global object , we can use window.console.log or console.log
- document.body displays body as a object
-
-
BOM (Browser Object Model)
- repersents additional objects provided by the browser (host environment maybe laptop, mobile) for working with everythng except the document
- functions like alert/prompt/confirm are part of this , they are not part of nodejs
- function like location.href = “https://sumathi.dev”
- Javascript Core
-
DOM (Document object Model)