JavaScript Window outerWidth
JavaScript Window outerWidth
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.
Syntax:-
Its syntax is:- window.outerWidth OR outerWidth
Return:-
Its return is:- width in pixels of the browser window including all elements