The outerWidth property is used to return the outer width of the browser window which includes all interface elements like taskbars, toolbars, and scrollbars. It is a read-only property. Some similar properties are innerWidth Property, outerHeight Property, and innerHeight Property.
Its syntax is:- window.outerWidth OR outerWidth
Its return is:- width in pixels of the browser window including all elements