The window.screen object contains information about the user’s screen.
Window Screen
The window.screen
object can be written without the window prefix.
Properties:
screen.width
screen.height
screen.availWidth
screen.availHeight
screen.colorDepth
screen.pixelDepth