Concepts
screen, window, document, document.body, HTMLElement, element, viewport
JS Browser BOM - JS Window, JS Browser BOM - JS Screen
Web technology for developers - Web APIs - Window
如果我沒理解錯的話,window指的是你打開chrome瀏覽器上有一個選項叫做new window,然後在window可以有很多tab。
screen指的window.screen,是物理的屏幕,比如我的這個32英寸的屏幕
document指的是window.document縮寫是document
body指的是window.document.body縮寫是document.body
參考
看一下文章