{"id":118,"date":"2014-05-17T00:07:28","date_gmt":"2014-05-16T18:07:28","guid":{"rendered":"http:\/\/promincproductions.com\/blog\/?p=118"},"modified":"2014-05-16T08:20:23","modified_gmt":"2014-05-16T02:20:23","slug":"ie-console-log-object-object-well-thats-helpful","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/ie-console-log-object-object-well-thats-helpful\/","title":{"rendered":"IE console.log [object Object] &#8211; Well that&#8217;s not helpful&#8230;"},"content":{"rendered":"<p>You ever see this in your console.log calls?<\/p>\n<pre><code>LOG: [object Object]\r\n<\/code><\/pre>\n<p>What good is that? \u00a0Yes, it&#8217;s good to know it&#8217;s an object, but get with the times IE debugger and help us debug, don&#8217;t just bug us. \u00a0(corney, I&#8217;m aware)<\/p>\n<p>This little trick seems to help me out when debugging IE though.<\/p>\n<pre><code>console.log(JSON.stringify(importantObject));<\/code><\/pre>\n<p>If I recall correctly, there are some limitations to this in that not all versions of IE support this. \u00a0I&#8217;d have to test to fully clarify though&#8230; \u00a0But I do believe this works for alerts as well:<\/p>\n<pre><code>alert(JSON.stringify(importantObject));<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>You ever see this in your console.log calls? LOG: [object Object] What good is that? \u00a0Yes, it&#8217;s good [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-website-development"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-1U","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":1,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":119,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/118\/revisions\/119"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}