JavaScript Window screen.availWidth
JavaScript Window screen.availWidth
The availWidth property is used to return the width of the user screen. It will return width in pixels. It returns width minus interfaces like window tabs, taskbars, etc. It is a read-only property.
Syntax:-
Its syntax is:- screen.availWidth
Return:-
Its return is:- width of user screen in pixels