JavaScript Window innerWidth
JavaScript Window innerWidth
The innerWidthproperty is used to return the width of a window content area. Some similar properties are innerHeight Property, outerWidth Property, and outerHeight Property. It is a read-only property.
Syntax:-
Its syntax is:- window.innerWidth OR innerWidth
Return:-
Its return is:- the inner height of window content area in pixels