{"id":7816,"date":"2021-08-12T11:46:19","date_gmt":"2021-08-12T11:46:19","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=7816"},"modified":"2022-04-13T16:30:45","modified_gmt":"2022-04-13T16:30:45","slug":"what-is-a-window-object-in-javascript-what-are-its-properties","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/","title":{"rendered":"What is a window object in JavaScript? What are its properties?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Window Object<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Window object represents the browser\u2019s window or potentially frame, that a document is displayed in.<\/li><li>As long as a browser window is open, even if no document is loaded in the window, the window object is defined in the current model in memory.<\/li><li>All global JavaScript variables, functions and objects automatically become members of the window object.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Dialog boxes<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It is used to provide some information to users.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Type of Dialog box:-<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Alert<\/li><li>Confirm<\/li><li>Prompt<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>alert ( ) Method<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This Window object\u2019s method is used to display data in the alert dialog box. alert really should be used only when you truly want to stop everything and let the user know something.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Syntax:- window.alert( ) or alert ( )<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/vijaypk376\/a56b1a0643fa921d71bc1adb2cb44c2a.js\"><\/script>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>confirm ( ) Method<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This Window object\u2019s method is used to display a message for a user to respond to by pressing either an OK button to agree with the message to a Cancel button to disagree with the message. It returns true on OK and false on Cancel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Syntax:- window.confirm( ) or confirm ( )<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/vijaypk376\/f641196b03e209f96d7593f23cf36d0b.js\"><\/script>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>prompt ( ) Method<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Window object\u2019s method prompt() can be used to get input from the user, named prompt. The prompt( ) method displays a dialog box that prompts the visitor for input.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the prompt function obtains input from the user, it returns that input. If the user press the cancel button in the dialog or close box, a value null will be returned.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Syntax: &#8211; prompt(text, defaultText)<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/vijaypk376\/b2c811f42dda846bdfa5b3131944f48c.js\"><\/script>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>open ( ) Method<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The open( ) method creates a new secondary browser window, similar to choosing New Window from the File menu. It returns a Window object representing the newly-created window. If the window couldn&#8217;t be opened, the returned value is instead null.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Syntax: &#8211; window.open (URL, name, features, replace)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">URL \u2013 URL indicates the document to load into the window. If no URL is specified, a new window with about: blank is opened<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Name \u2013 Specifies the target attribute or the name of the window. The following values are supported:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">_blank &#8211; URL is loaded into a new window. This is default<br>_parent &#8211; URL is loaded into the parent frame<br>_self &#8211; URL replaces the current page<br>_top &#8211; URL replaces any framesets that may be loaded<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>open ( ) Method<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Syntax: &#8211; window.open (URL, name, features, replace)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Features \u2013 It is a comma-delimited string that lists the features of the window.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace \u2013 It indicates whether or not the URL specified should replace the window\u2019s contents. This would apply to a window that was already created. Value can be true\/false.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/vijaypk376\/1db29e62013fd73212425b33aade7de1.js\"><\/script>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Features<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Feature Parameter<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Value<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Example<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">alwaysLowered<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">alwaysLowered=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">alwaysRaised<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">alwaysRaised=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">centerscreen<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">centerscreen=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">chrome<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">chrome=yes\/true<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">close<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">close=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">dialog<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">dialog=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">dependent<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">dependent=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">z-lock<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">z-lock=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">hotkeys<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">hotkeys=yes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Features<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Feature Parameter<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Value<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Example<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">location<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">location=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">menubar<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">menubar=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">minimizable<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">minimizable=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">modal<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">modal=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">personalbar<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">personalbar=yes\/true<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">resizable<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">resizable=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">scrollbars<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">scrollbars=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">status<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">status=no<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">titlebar<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">titlebar=yes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Features<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Feature Parameter<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Value<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Example<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">toolbar<\/td><td class=\"has-text-align-center\" data-align=\"center\">yes\/no<\/td><td class=\"has-text-align-center\" data-align=\"center\">toolbar=yes<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">top<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">top=20<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">height<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">height=200<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">width<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">width=200<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">innerHeight<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">innerHeight=200<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">innerWidth<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">innerWidth=200<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">outerHeight<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">outerHeight=200<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">outerWidth<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">outerWidth=200<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">left<\/td><td class=\"has-text-align-center\" data-align=\"center\">pixel value<\/td><td class=\"has-text-align-center\" data-align=\"center\">left=20<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>close ( ) Method<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once a window is open, the close ( ) method is used to close it. It closes the current window or the window on which it was called. This method is only allowed to be called for windows that were opened by a script using the window.open() method. It is often used together with open ( ) method.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Syntax: &#8211; window.close ( )<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/vijaypk376\/d6cf9f008ced687a2981606f3a685dae.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>Window Object Window object represents the browser\u2019s window or potentially frame, that a document is displayed in. As long as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[16],"tags":[5095,4240,6246,1073,6245],"class_list":["post-7816","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-javascript","tag-method","tag-parameter","tag-properties","tag-window-object"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is a window object in JavaScript? What are its properties? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is a window object in JavaScript? What are its properties? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Window Object Window object represents the browser\u2019s window or potentially frame, that a document is displayed in. As long as [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-12T11:46:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-13T16:30:45+00:00\" \/>\n<meta name=\"author\" content=\"rajeshkumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rajeshkumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/\"},\"author\":{\"name\":\"rajeshkumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"headline\":\"What is a window object in JavaScript? What are its properties?\",\"datePublished\":\"2021-08-12T11:46:19+00:00\",\"dateModified\":\"2022-04-13T16:30:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/\"},\"wordCount\":639,\"commentCount\":0,\"keywords\":[\"Javascript\",\"Method\",\"Parameter\",\"properties\",\"window object\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/\",\"name\":\"What is a window object in JavaScript? What are its properties? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-08-12T11:46:19+00:00\",\"dateModified\":\"2022-04-13T16:30:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/what-is-a-window-object-in-javascript-what-are-its-properties\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is a window object in JavaScript? What are its properties?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\",\"name\":\"rajeshkumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"caption\":\"rajeshkumar\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rajeshkumar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is a window object in JavaScript? What are its properties? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/","og_locale":"en_US","og_type":"article","og_title":"What is a window object in JavaScript? What are its properties? - scmGalaxy","og_description":"Window Object Window object represents the browser\u2019s window or potentially frame, that a document is displayed in. As long as [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/","og_site_name":"scmGalaxy","article_published_time":"2021-08-12T11:46:19+00:00","article_modified_time":"2022-04-13T16:30:45+00:00","author":"rajeshkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rajeshkumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/"},"author":{"name":"rajeshkumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"headline":"What is a window object in JavaScript? What are its properties?","datePublished":"2021-08-12T11:46:19+00:00","dateModified":"2022-04-13T16:30:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/"},"wordCount":639,"commentCount":0,"keywords":["Javascript","Method","Parameter","properties","window object"],"articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/","name":"What is a window object in JavaScript? What are its properties? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-08-12T11:46:19+00:00","dateModified":"2022-04-13T16:30:45+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/what-is-a-window-object-in-javascript-what-are-its-properties\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"What is a window object in JavaScript? What are its properties?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361","name":"rajeshkumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","caption":"rajeshkumar"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rajeshkumar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/7816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=7816"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/7816\/revisions"}],"predecessor-version":[{"id":7843,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/7816\/revisions\/7843"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=7816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=7816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=7816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}