{"id":1399,"date":"2023-06-28T06:04:33","date_gmt":"2023-06-28T05:04:33","guid":{"rendered":"https:\/\/codeflarelimited.com\/blog\/?p=1399"},"modified":"2023-08-15T21:10:03","modified_gmt":"2023-08-15T20:10:03","slug":"how-to-merge-arrays-in-javascript","status":"publish","type":"post","link":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/","title":{"rendered":"How to Merge Arrays in Javascript"},"content":{"rendered":"\n<p>In JavaScript, an array is a data structure that allows you to store multiple values in a single variable. It is a container that holds an ordered collection of elements. These elements can be of any data type, such as numbers, strings, objects, or even other arrays.<\/p>\n\n\n\n<p>Arrays in JavaScript are declared using square brackets <strong>([])<\/strong>. Here&#8217;s an example of creating an array with three elements:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">let myArray = [1, 2, 3];<\/code><\/pre>\n\n\n\n<p>In this example, <code>myArray<\/code> is an array that contains three elements: 1, 2, and 3.<\/p>\n\n\n\n<p>Arrays in JavaScript are zero-indexed, which means the first element is accessed using the index 0, the second element with index 1, and so on. You can access or modify the elements of an array using their respective indexes. Here&#8217;s an example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">let myArray = [1, 2, 3];\nconsole.log(myArray[0]); \/\/ Output: 1\nmyArray[1] = 5;\nconsole.log(myArray); \/\/ Output: [1, 5, 3]<\/code><\/pre>\n\n\n\n<p>In the first <code>console.log<\/code> statement, <code>myArray[0]<\/code> accesses the first element of the array, which is 1. In the second statement, <code>myArray[1]<\/code> modifies the second element to the value 5. The resulting array is [1, 5, 3].<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-merging-two-arrays\">Merging Two Arrays<\/h3>\n\n\n\n<p>To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge arrays:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>The Spread operator<\/strong>: The spread operator (<code>...<\/code>) is a feature introduced in JavaScript ES6 (ECMAScript 2015) that allows you to expand elements of an iterable (like an array or string) or object properties into another array, object, or function call.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">let array1 = [1, 2, 3];\nlet array2 = [4, 5, 6];\n\nlet mergedArray = [...array1, ...array2];\n\nconsole.log(mergedArray); \/\/ Output: [1, 2, 3, 4, 5, 6]<\/code><\/pre>\n\n\n\n<p>2. <strong>Concatenation using the <code>concat()<\/code> method<\/strong>: The <code>concat()<\/code> method in JavaScript is used to merge two or more arrays and returns a new array containing the combined elements. It does not modify the original arrays; instead, it creates a new array.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">let array1 = [1, 2, 3];\nlet array2 = [4, 5, 6];\n\nconst mergeResult = array1.concat(array2);\n\nconsole.log(array1); \/\/ Output: [1, 2, 3, 4, 5, 6]<\/code><\/pre>\n\n\n\n<p>3. <strong><code>push()<\/code> method<\/strong>: The <code>push()<\/code> method in JavaScript is used to add one or more elements to the end of an array. It modifies the original array and returns the new length of the array.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">let array1 = [1, 2, 3];\nlet array2 = [4, 5, 6];\n\nArray.prototype.push.apply(array1, array2);\n\nconsole.log(array1); \/\/ Output: [1, 2, 3, 4, 5, 6]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-summary\">Summary<\/h2>\n\n\n\n<p>These methods create a new array that contains elements from both arrays. Note that the original arrays remain unchanged, and the merged array is assigned to a new variable (<code>mergedArray<\/code> in the examples above). You can also choose to modify one of the existing arrays if desired and you can always choose a method that best fits your coding style.<\/p>\n\n\n\n<p><a href=\"https:\/\/codeflarelimited.com\/blog\/conditional-rendering-in-react\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Rendering in React JS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In JavaScript, an array is a data structure that allows you to store multiple values in a single<\/p>\n","protected":false},"author":1,"featured_media":1400,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11,95],"tags":[],"class_list":["post-1399","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","category-software-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Merge Arrays in Javascript<\/title>\n<meta name=\"description\" content=\"To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Merge Arrays in Javascript\" \/>\n<meta property=\"og:description\" content=\"To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/codeflretech\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-28T05:04:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-15T20:10:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"930\" \/>\n\t<meta property=\"og:image:height\" content=\"484\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"codeflare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codeflaretech\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/\"},\"author\":{\"name\":\"codeflare\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\"},\"headline\":\"How to Merge Arrays in Javascript\",\"datePublished\":\"2023-06-28T05:04:33+00:00\",\"dateModified\":\"2023-08-15T20:10:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/\"},\"wordCount\":350,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Screen-Shot-2023-06-27-at-10.04.59-PM.png\",\"articleSection\":[\"javascript\",\"software development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/\",\"name\":\"How to Merge Arrays in Javascript\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Screen-Shot-2023-06-27-at-10.04.59-PM.png\",\"datePublished\":\"2023-06-28T05:04:33+00:00\",\"dateModified\":\"2023-08-15T20:10:03+00:00\",\"description\":\"To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#primaryimage\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Screen-Shot-2023-06-27-at-10.04.59-PM.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Screen-Shot-2023-06-27-at-10.04.59-PM.png\",\"width\":930,\"height\":484,\"caption\":\"merge arrays in javascript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/how-to-merge-arrays-in-javascript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"software development\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/software-development\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Merge Arrays in Javascript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"name\":\"\",\"description\":\"Sustainable solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\",\"name\":\"Codeflare Limited\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"width\":1040,\"height\":263,\"caption\":\"Codeflare Limited\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\",\"name\":\"codeflare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"caption\":\"codeflare\"},\"description\":\"Latest tech news and coding tips.\",\"sameAs\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\",\"https:\\\/\\\/facebook.com\\\/codeflretech\",\"https:\\\/\\\/instagram.com\\\/codeflaretech\",\"https:\\\/\\\/x.com\\\/codeflaretech\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1\"],\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/author\\\/watcher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Merge Arrays in Javascript","description":"To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge","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:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"How to Merge Arrays in Javascript","og_description":"To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge","og_url":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/","article_author":"https:\/\/facebook.com\/codeflretech","article_published_time":"2023-06-28T05:04:33+00:00","article_modified_time":"2023-08-15T20:10:03+00:00","og_image":[{"width":930,"height":484,"url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png","type":"image\/png"}],"author":"codeflare","twitter_card":"summary_large_image","twitter_creator":"@codeflaretech","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#article","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/"},"author":{"name":"codeflare","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a"},"headline":"How to Merge Arrays in Javascript","datePublished":"2023-06-28T05:04:33+00:00","dateModified":"2023-08-15T20:10:03+00:00","mainEntityOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/"},"wordCount":350,"commentCount":0,"publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png","articleSection":["javascript","software development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/","url":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/","name":"How to Merge Arrays in Javascript","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png","datePublished":"2023-06-28T05:04:33+00:00","dateModified":"2023-08-15T20:10:03+00:00","description":"To merge two arrays in JavaScript, you can use various approaches depending on your requirements. Here are a few common methods to merge","breadcrumb":{"@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#primaryimage","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png","width":930,"height":484,"caption":"merge arrays in javascript"},{"@type":"BreadcrumbList","@id":"https:\/\/codeflarelimited.com\/blog\/how-to-merge-arrays-in-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codeflarelimited.com\/blog\/"},{"@type":"ListItem","position":2,"name":"software development","item":"https:\/\/codeflarelimited.com\/blog\/software-development\/"},{"@type":"ListItem","position":3,"name":"How to Merge Arrays in Javascript"}]},{"@type":"WebSite","@id":"https:\/\/codeflarelimited.com\/blog\/#website","url":"https:\/\/codeflarelimited.com\/blog\/","name":"","description":"Sustainable solutions","publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codeflarelimited.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codeflarelimited.com\/blog\/#organization","name":"Codeflare Limited","url":"https:\/\/codeflarelimited.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","width":1040,"height":263,"caption":"Codeflare Limited"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a","name":"codeflare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","caption":"codeflare"},"description":"Latest tech news and coding tips.","sameAs":["https:\/\/codeflarelimited.com\/blog","https:\/\/facebook.com\/codeflretech","https:\/\/instagram.com\/codeflaretech","https:\/\/x.com\/codeflaretech","https:\/\/www.youtube.com\/channel\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1"],"url":"https:\/\/codeflarelimited.com\/blog\/author\/watcher\/"}]}},"jetpack_featured_media_url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2023\/06\/Screen-Shot-2023-06-27-at-10.04.59-PM.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/comments?post=1399"}],"version-history":[{"count":2,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1399\/revisions"}],"predecessor-version":[{"id":1423,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1399\/revisions\/1423"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media\/1400"}],"wp:attachment":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media?parent=1399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/categories?post=1399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/tags?post=1399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}