It can sometimes be quite important to know what size of screen a program is running on, so that displays can be suitably adapted. The screen object, window.screen
, has properties width
and height
but also there are availWidth
and availHeight
because on some systems the whole size of the screen may not be available for use by our programs.