Window.innerWidth

Function/Meaning
Width of the client area
Type
Window class property (read/write)
Description
Represents the width of the client area. You can also set the value.
Reference
Window.innerHeight
Window.setInnerSize