{"action":"created","issue":{"url":"https://api.github.com/repos/1-liners/1-liners/issues/77","labels_url":"https://api.github.com/repos/1-liners/1-liners/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/1-liners/1-liners/issues/77/comments","events_url":"https://api.github.com/repos/1-liners/1-liners/issues/77/events","html_url":"https://github.com/1-liners/1-liners/pull/77","id":78687915,"number":77,"title":"Pop shift","user":{"login":"tomekwi","id":4624660,"avatar_url":"https://avatars.githubusercontent.com/u/4624660?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekwi","html_url":"https://github.com/tomekwi","followers_url":"https://api.github.com/users/tomekwi/followers","following_url":"https://api.github.com/users/tomekwi/following{/other_user}","gists_url":"https://api.github.com/users/tomekwi/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekwi/subscriptions","organizations_url":"https://api.github.com/users/tomekwi/orgs","repos_url":"https://api.github.com/users/tomekwi/repos","events_url":"https://api.github.com/users/tomekwi/events{/privacy}","received_events_url":"https://api.github.com/users/tomekwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-05-20T20:38:17Z","updated_at":"2015-05-22T15:49:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/1-liners/1-liners/pulls/77","html_url":"https://github.com/1-liners/1-liners/pull/77","diff_url":"https://github.com/1-liners/1-liners/pull/77.diff","patch_url":"https://github.com/1-liners/1-liners/pull/77.patch"},"body":"### pop\r\n\r\nSimilar to `array.pop()`, but immutable.\r\n\r\n```js\r\nimport pop from '1-liners/pop';\r\n\r\nconst array = [1, 2, 3];\r\n\r\npop(array);  // => [1, 2]\r\narray;       // => [1, 2, 3]\r\n```\r\n\r\n<div align=\"right\"><sup>\r\n\t<a href=\"../tests/pop.js\">Spec</a>\r\n\t•\r\n\t<a href=\"../module/pop.js\">Source</a>: <code> (array) =&gt; array.slice(0, -1);</code>\r\n</sup></div>\r\n\r\n***\r\n\r\n### shift\r\n\r\nSimilar to `array.shift()`, but immutable.\r\n\r\n```js\r\nimport shift from '1-liners/shift';\r\n\r\nconst array = [1, 2, 3];\r\n\r\nshift(array);  // => [2, 3]\r\narray;         // => [1, 2, 3]\r\n```\r\n\r\n<div align=\"right\"><sup>\r\n\t<a href=\"../tests/shift.js\">Spec</a>\r\n\t•\r\n\t<a href=\"../module/shift.js\">Source</a>: <code> (array) =&gt; array.slice(1);</code>\r\n</sup></div>\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/1-liners/1-liners/issues/comments/104695978","html_url":"https://github.com/1-liners/1-liners/pull/77#issuecomment-104695978","issue_url":"https://api.github.com/repos/1-liners/1-liners/issues/77","id":104695978,"user":{"login":"hemanth","id":18315,"avatar_url":"https://avatars.githubusercontent.com/u/18315?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanth","html_url":"https://github.com/hemanth","followers_url":"https://api.github.com/users/hemanth/followers","following_url":"https://api.github.com/users/hemanth/following{/other_user}","gists_url":"https://api.github.com/users/hemanth/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanth/subscriptions","organizations_url":"https://api.github.com/users/hemanth/orgs","repos_url":"https://api.github.com/users/hemanth/repos","events_url":"https://api.github.com/users/hemanth/events{/privacy}","received_events_url":"https://api.github.com/users/hemanth/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T15:49:11Z","updated_at":"2015-05-22T15:49:11Z","body":"![](http://38.media.tumblr.com/tumblr_m9o2mwpccu1rse1ipo1_500.gif)"}}