{"id":5069,"date":"2018-12-17T23:13:19","date_gmt":"2018-12-17T22:13:19","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=5069"},"modified":"2018-12-17T23:13:19","modified_gmt":"2018-12-17T22:13:19","slug":"how-to-differentiate-between-deep-and-shallow-copies-in-javascript","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2018\/12\/17\/how-to-differentiate-between-deep-and-shallow-copies-in-javascript\/","title":{"rendered":"How to differentiate between deep and shallow copies in JavaScript"},"content":{"rendered":"<p><em><a href=\"https:\/\/medium.freecodecamp.org\/copying-stuff-in-javascript-how-to-differentiate-between-deep-and-shallow-copies-b6d8c1ef09cd\">How to differentiate between deep and shallow copies in JavaScript<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">How to differentiate between deep and shallow copies in JavaScript<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2018\/12\/17\/how-to-differentiate-between-deep-and-shallow-copies-in-javascript\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_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,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[50],"tags":[],"class_list":["post-5069","post","type-post","status-publish","format-standard","hentry","category-javascript"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-1jL","jetpack-related-posts":[{"id":6763,"url":"https:\/\/monodes.com\/predaelli\/2020\/02\/26\/javascript-interviews-whats-the-difference-between-a-variable-thats-null-undefined-or-undeclared\/","url_meta":{"origin":5069,"position":0},"title":"JavaScript Interviews: What\u2019s the Difference Between a Variable That\u2019s null, undefined, or undeclared?","author":"Paolo Redaelli","date":"2020-02-26","format":"link","excerpt":"JavaScript Interviews: What\u2019s the Difference Between a Variable That\u2019s null, undefined, or undeclared?","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7682,"url":"https:\/\/monodes.com\/predaelli\/2020\/10\/12\/how-we-wrote-the-fastest-javascript-ui-framework-again\/","url_meta":{"origin":5069,"position":1},"title":"How we wrote the Fastest JavaScript UI Framework, Again!","author":"Paolo Redaelli","date":"2020-10-12","format":false,"excerpt":"How we wrote the Fastest JavaScript UI Framework, Again! Mmhmmm... I shall remember this Solid Javascript framework","rel":"","context":"In &quot;Javascript&quot;","block_context":{"text":"Javascript","link":"https:\/\/monodes.com\/predaelli\/category\/javascript\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6458,"url":"https:\/\/monodes.com\/predaelli\/2020\/01\/18\/what-is-the-difference-between-forin-and-forof-in-javascript\/","url_meta":{"origin":5069,"position":2},"title":"What is the Difference Between \u2018for\u2026in\u2019 and \u2018for\u2026of\u2019 in JavaScript?","author":"Paolo Redaelli","date":"2020-01-18","format":"link","excerpt":"What is the Difference Between \u2018for\u2026in\u2019 and \u2018for\u2026of\u2019 in JavaScript? What is the Difference Between \u2018for\u2026in\u2019 and \u2018for\u2026of\u2019 in JavaScript? One for enumerables, one for iterables\u2026how should you use each? Jonathan Hsu Dec 4, 2019 \u00b7 3 min read Photo by Filip Mroz on Unsplash Looping has come a long\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"Jonathan Hsu","src":"https:\/\/i0.wp.com\/miro.medium.com\/fit\/c\/96\/96\/2%2A_KGzadiy9s83D4vzhsCyyg.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":13886,"url":"https:\/\/monodes.com\/predaelli\/2025\/08\/19\/crazy-javascripts-date-class\/","url_meta":{"origin":5069,"position":3},"title":"Crazy JavaScript&#8217;s Date class","author":"Paolo Redaelli","date":"2025-08-19","format":false,"excerpt":"new Date(\"wtf\") How well do you know JavaScript's Date class? JavaScript is a crazy, mad language. Or better, it's library is crazy. You can mostly blame automatic convertions","rel":"","context":"In &quot;Fun&quot;","block_context":{"text":"Fun","link":"https:\/\/monodes.com\/predaelli\/category\/fun\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4391,"url":"https:\/\/monodes.com\/predaelli\/2018\/06\/20\/how-you-can-improve-your-workflow-using-the-javascript-console\/","url_meta":{"origin":5069,"position":4},"title":"How you can improve your workflow using the JavaScript console","author":"Paolo Redaelli","date":"2018-06-20","format":false,"excerpt":"\u00a0 As a web developer, you know very well the need to debug your code. We often use external libraries for logs, and to format and\/or display\u2026 How you can improve your workflow using the JavaScript console Please meet: console.group() (or console.groupCollapsed() if we want it to be closed by\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5130,"url":"https:\/\/monodes.com\/predaelli\/2019\/01\/15\/intuitive-asynchronous-javascript-edwin-yung-medium\/","url_meta":{"origin":5069,"position":5},"title":"Intuitive Asynchronous Javascript \u2013 Edwin Yung \u2013 Medium","author":"Paolo Redaelli","date":"2019-01-15","format":false,"excerpt":"Escape callback hell! Source: Intuitive Asynchronous Javascript \u2013 Edwin Yung \u2013 Medium \u00a0 Asynchronous Javascript Explained Simply and Intuitively Edwin Yung Dec 29, 2017 Escape callback hell with this\u00a0article! Asynchronous Javascript is difficult to wrangle. The following is my quick attempt to elucidate their inner workings. Before we get started,\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/5069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=5069"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/5069\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=5069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=5069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=5069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}