Window.outerWidth read-only property returns the width of the outside of the browser window.
Window.outerWidth
MDN Reference