JavaScript: window, document and screen

Window

The JavaScript window object is the top of the JavaScript Object and represents the browser window. and it is supported by all browsers. All global JavaScript objects , functions, and variables automatically become members of the window object. The window is the first thing that gets loaded into the browser .

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jagan mohan

Strings,Booleans can be classified as primitive data types whereas Arrays and Objects are composite data types