Screen

Introduction

Screen is an object and all attributes of that object are displayable.

Properties

for (var property in screen) { if (screen.hasOwnProperty(property)) { document.writeln("property : " + property); document.writeln("screen[property] : " + screen[property]); } }

On running the above code, the following output is obtained.