what is BOM? what is the use of it in js ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is BOM? what is the use of it in js ??

25th Aug 2016, 1:05 PM
Vishakha Nehe
Vishakha Nehe - avatar
3 Answers
0
Browser Objects Model. Example, window.alert("test");
25th Aug 2016, 1:16 PM
Dick
0
will you please explain more??
25th Aug 2016, 1:17 PM
Vishakha Nehe
Vishakha Nehe - avatar
0
when you see or write window.something, that browser/window/global objects. DOM is Document Objects Model. When you see or write document.something, that's DOM. We use BOM, to get user browser history, create cookie, alert, prompt, confirmation box and etc.
25th Aug 2016, 1:53 PM
Dick