innerWidth

The read-only Window property innerWidth returns the interior width of the window in pixels (that is, the width of the window's layout viewport).

MDN Reference