{"action":"closed","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/2275","repository_url":"https://api.github.com/repos/lodash/lodash","labels_url":"https://api.github.com/repos/lodash/lodash/issues/2275/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/2275/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/2275/events","html_url":"https://github.com/lodash/lodash/issues/2275","id":150465255,"number":2275,"title":"assign in lodash/fp turns array into an object","user":{"login":"AriaFallah","id":9424976,"avatar_url":"https://avatars.githubusercontent.com/u/9424976?v=3","gravatar_id":"","url":"https://api.github.com/users/AriaFallah","html_url":"https://github.com/AriaFallah","followers_url":"https://api.github.com/users/AriaFallah/followers","following_url":"https://api.github.com/users/AriaFallah/following{/other_user}","gists_url":"https://api.github.com/users/AriaFallah/gists{/gist_id}","starred_url":"https://api.github.com/users/AriaFallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriaFallah/subscriptions","organizations_url":"https://api.github.com/users/AriaFallah/orgs","repos_url":"https://api.github.com/users/AriaFallah/repos","events_url":"https://api.github.com/users/AriaFallah/events{/privacy}","received_events_url":"https://api.github.com/users/AriaFallah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lodash/lodash/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T20:34:10Z","updated_at":"2016-04-22T21:04:57Z","closed_at":"2016-04-22T21:04:57Z","body":"Given the following code:\r\n\r\n```js\r\nimport _ from 'lodash'\r\nimport fp from 'lodash/fp'\r\n\r\nconst array = []\r\nconsole.log(fp.assign([1, 2, 3])(array))\r\nconsole.log(_.partialRight(_.assign, [1, 2, 3])(array))\r\n```\r\n\r\nthe result is\r\n\r\n```js\r\n{ '0': 1, '1': 2, '2': 3 }\r\n[ 1, 2, 3 ]\r\n```\r\n\r\nIs this the expected behavior?"}}