{"id":548,"date":"2018-10-27T14:15:58","date_gmt":"2018-10-27T21:15:58","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=3328"},"modified":"2018-10-27T14:15:58","modified_gmt":"2018-10-27T21:15:58","slug":"es6-concat-trick","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=548","title":{"rendered":"es6 concat trick"},"content":{"rendered":"<pre lang=\"javascript\">\r\nlet a = [1], b = [2], c = [3],\r\n    d = [...a, ...b, ...c];\r\nconsole.log(d);\r\n\/\/ outputs: [1, 2, 3]\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>let a = [1], b = [2], c = [3], d = [&#8230;a, &#8230;b, &#8230;c]; console.log(d); \/\/ outputs: [1, 2, 3]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,192,160],"tags":[196],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-arrays","category-es6","category-javascript","tag-arrays"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=548"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}