{"action":"created","comment":{"url":"https://api.github.com/repos/ramda/ramda/pulls/comments/53555615","id":53555615,"diff_hunk":"@@ -0,0 +1,24 @@\n+var _has = require('./_has');\n+\n+// Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n+module.exports = function _objectAssign(target) {\n+  if (target === undefined || target === null) {\n+    throw new TypeError('Cannot convert undefined or null to object');\n+  }\n+\n+  var output = Object(target);\n+  var idx = 1;\n+  var length = arguments.length;\n+  while (idx < length) {\n+    var source = arguments[idx];\n+    if (source !== undefined && source !== null) {","path":"src/internal/_objectAssign.js","position":14,"original_position":14,"commit_id":"67bc9bff534d70873eea6bdab0b053bb6dcc5713","original_commit_id":"67bc9bff534d70873eea6bdab0b053bb6dcc5713","user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"body":"`source != null` handles both cases. :)\r\n","created_at":"2016-02-20T19:17:53Z","updated_at":"2016-02-20T19:17:53Z","html_url":"https://github.com/ramda/ramda/pull/1657#discussion_r53555615","pull_request_url":"https://api.github.com/repos/ramda/ramda/pulls/1657","_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments/53555615"},"html":{"href":"https://github.com/ramda/ramda/pull/1657#discussion_r53555615"},"pull_request":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1657"}}},"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1657","id":60053627,"html_url":"https://github.com/ramda/ramda/pull/1657","diff_url":"https://github.com/ramda/ramda/pull/1657.diff","patch_url":"https://github.com/ramda/ramda/pull/1657.patch","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1657","number":1657,"state":"open","locked":false,"title":"Optimize R.into to perform mutable reductions","user":{"login":"asaf-romano","id":11056617,"avatar_url":"https://avatars.githubusercontent.com/u/11056617?v=3","gravatar_id":"","url":"https://api.github.com/users/asaf-romano","html_url":"https://github.com/asaf-romano","followers_url":"https://api.github.com/users/asaf-romano/followers","following_url":"https://api.github.com/users/asaf-romano/following{/other_user}","gists_url":"https://api.github.com/users/asaf-romano/gists{/gist_id}","starred_url":"https://api.github.com/users/asaf-romano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaf-romano/subscriptions","organizations_url":"https://api.github.com/users/asaf-romano/orgs","repos_url":"https://api.github.com/users/asaf-romano/repos","events_url":"https://api.github.com/users/asaf-romano/events{/privacy}","received_events_url":"https://api.github.com/users/asaf-romano/received_events","type":"User","site_admin":false},"body":"Closes #1656","created_at":"2016-02-20T17:03:27Z","updated_at":"2016-02-20T19:17:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db2ba5808184f24049909f68221076279170ca7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ramda/ramda/pulls/1657/commits","review_comments_url":"https://api.github.com/repos/ramda/ramda/pulls/1657/comments","review_comment_url":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1657/comments","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/67bc9bff534d70873eea6bdab0b053bb6dcc5713","head":{"label":"asaf-romano:_stepCat","ref":"_stepCat","sha":"67bc9bff534d70873eea6bdab0b053bb6dcc5713","user":{"login":"asaf-romano","id":11056617,"avatar_url":"https://avatars.githubusercontent.com/u/11056617?v=3","gravatar_id":"","url":"https://api.github.com/users/asaf-romano","html_url":"https://github.com/asaf-romano","followers_url":"https://api.github.com/users/asaf-romano/followers","following_url":"https://api.github.com/users/asaf-romano/following{/other_user}","gists_url":"https://api.github.com/users/asaf-romano/gists{/gist_id}","starred_url":"https://api.github.com/users/asaf-romano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaf-romano/subscriptions","organizations_url":"https://api.github.com/users/asaf-romano/orgs","repos_url":"https://api.github.com/users/asaf-romano/repos","events_url":"https://api.github.com/users/asaf-romano/events{/privacy}","received_events_url":"https://api.github.com/users/asaf-romano/received_events","type":"User","site_admin":false},"repo":{"id":36490733,"name":"ramda","full_name":"asaf-romano/ramda","owner":{"login":"asaf-romano","id":11056617,"avatar_url":"https://avatars.githubusercontent.com/u/11056617?v=3","gravatar_id":"","url":"https://api.github.com/users/asaf-romano","html_url":"https://github.com/asaf-romano","followers_url":"https://api.github.com/users/asaf-romano/followers","following_url":"https://api.github.com/users/asaf-romano/following{/other_user}","gists_url":"https://api.github.com/users/asaf-romano/gists{/gist_id}","starred_url":"https://api.github.com/users/asaf-romano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaf-romano/subscriptions","organizations_url":"https://api.github.com/users/asaf-romano/orgs","repos_url":"https://api.github.com/users/asaf-romano/repos","events_url":"https://api.github.com/users/asaf-romano/events{/privacy}","received_events_url":"https://api.github.com/users/asaf-romano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asaf-romano/ramda","description":":ram: Practical functional Javascript","fork":true,"url":"https://api.github.com/repos/asaf-romano/ramda","forks_url":"https://api.github.com/repos/asaf-romano/ramda/forks","keys_url":"https://api.github.com/repos/asaf-romano/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asaf-romano/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asaf-romano/ramda/teams","hooks_url":"https://api.github.com/repos/asaf-romano/ramda/hooks","issue_events_url":"https://api.github.com/repos/asaf-romano/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/asaf-romano/ramda/events","assignees_url":"https://api.github.com/repos/asaf-romano/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/asaf-romano/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/asaf-romano/ramda/tags","blobs_url":"https://api.github.com/repos/asaf-romano/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asaf-romano/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asaf-romano/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/asaf-romano/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asaf-romano/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/asaf-romano/ramda/languages","stargazers_url":"https://api.github.com/repos/asaf-romano/ramda/stargazers","contributors_url":"https://api.github.com/repos/asaf-romano/ramda/contributors","subscribers_url":"https://api.github.com/repos/asaf-romano/ramda/subscribers","subscription_url":"https://api.github.com/repos/asaf-romano/ramda/subscription","commits_url":"https://api.github.com/repos/asaf-romano/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/asaf-romano/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/asaf-romano/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/asaf-romano/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/asaf-romano/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/asaf-romano/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asaf-romano/ramda/merges","archive_url":"https://api.github.com/repos/asaf-romano/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asaf-romano/ramda/downloads","issues_url":"https://api.github.com/repos/asaf-romano/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/asaf-romano/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/asaf-romano/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/asaf-romano/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asaf-romano/ramda/labels{/name}","releases_url":"https://api.github.com/repos/asaf-romano/ramda/releases{/id}","deployments_url":"https://api.github.com/repos/asaf-romano/ramda/deployments","created_at":"2015-05-29T08:16:06Z","updated_at":"2015-05-29T08:16:07Z","pushed_at":"2016-02-20T17:02:32Z","git_url":"git://github.com/asaf-romano/ramda.git","ssh_url":"git@github.com:asaf-romano/ramda.git","clone_url":"https://github.com/asaf-romano/ramda.git","svn_url":"https://github.com/asaf-romano/ramda","homepage":"http://ramdajs.com","size":5371,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ramda:master","ref":"master","sha":"0e6748fed234bc0e765d3408f562c1e72de7bb50","user":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"repo":{"id":10851820,"name":"ramda","full_name":"ramda/ramda","owner":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ramda/ramda","description":":ram: Practical functional Javascript","fork":false,"url":"https://api.github.com/repos/ramda/ramda","forks_url":"https://api.github.com/repos/ramda/ramda/forks","keys_url":"https://api.github.com/repos/ramda/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramda/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramda/ramda/teams","hooks_url":"https://api.github.com/repos/ramda/ramda/hooks","issue_events_url":"https://api.github.com/repos/ramda/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/ramda/ramda/events","assignees_url":"https://api.github.com/repos/ramda/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/ramda/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/ramda/ramda/tags","blobs_url":"https://api.github.com/repos/ramda/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramda/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramda/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramda/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/ramda/ramda/languages","stargazers_url":"https://api.github.com/repos/ramda/ramda/stargazers","contributors_url":"https://api.github.com/repos/ramda/ramda/contributors","subscribers_url":"https://api.github.com/repos/ramda/ramda/subscribers","subscription_url":"https://api.github.com/repos/ramda/ramda/subscription","commits_url":"https://api.github.com/repos/ramda/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramda/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramda/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramda/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/ramda/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/ramda/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramda/ramda/merges","archive_url":"https://api.github.com/repos/ramda/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramda/ramda/downloads","issues_url":"https://api.github.com/repos/ramda/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/ramda/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/ramda/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/ramda/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramda/ramda/labels{/name}","releases_url":"https://api.github.com/repos/ramda/ramda/releases{/id}","deployments_url":"https://api.github.com/repos/ramda/ramda/deployments","created_at":"2013-06-21T20:32:35Z","updated_at":"2016-02-20T15:48:16Z","pushed_at":"2016-02-20T17:03:27Z","git_url":"git://github.com/ramda/ramda.git","ssh_url":"git@github.com:ramda/ramda.git","clone_url":"https://github.com/ramda/ramda.git","svn_url":"https://github.com/ramda/ramda","homepage":"http://ramdajs.com","size":6547,"stargazers_count":3781,"watchers_count":3781,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":271,"mirror_url":null,"open_issues_count":108,"forks":271,"open_issues":108,"watchers":3781,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1657"},"html":{"href":"https://github.com/ramda/ramda/pull/1657"},"issue":{"href":"https://api.github.com/repos/ramda/ramda/issues/1657"},"comments":{"href":"https://api.github.com/repos/ramda/ramda/issues/1657/comments"},"review_comments":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1657/comments"},"review_comment":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1657/commits"},"statuses":{"href":"https://api.github.com/repos/ramda/ramda/statuses/67bc9bff534d70873eea6bdab0b053bb6dcc5713"}}}}