{"id":408,"date":"2022-08-30T15:00:51","date_gmt":"2022-08-30T15:00:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/object-has-no-hasownproperty-method-i-e-its-undefined-ie8-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:00:51","modified_gmt":"2022-08-30T15:00:51","slug":"object-has-no-hasownproperty-method-i-e-its-undefined-ie8-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/object-has-no-hasownproperty-method-i-e-its-undefined-ie8-collection-of-common-programming-errors\/","title":{"rendered":"object has no hasOwnProperty method (i.e. it&#39;s undefined) &#8211; IE8-Collection of common programming errors"},"content":{"rendered":"<p>This example is from IE8, but the same return is from IE6+ and most other IE browsers.<\/p>\n<p>IE before #9 does not define it for <strong>host<\/strong> objects<\/p>\n<pre><code>var o=window;\/\/ or document or document elements\no.hasOwnProperty\n\n\/*  returned value: (undefined)\nundefined\n*\/\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-11-09 19:03:18. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>This example is from IE8, but the same return is from IE6+ and most other IE browsers. IE before #9 does not define it for host objects var o=window;\/\/ or document or document elements o.hasOwnProperty \/* returned value: (undefined) undefined *\/ Originally posted 2013-11-09 19:03:18.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-408","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/408\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}