{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/1557","labels_url":"https://api.github.com/repos/lodash/lodash/issues/1557/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/1557/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/1557/events","html_url":"https://github.com/lodash/lodash/issues/1557","id":112864963,"number":1557,"title":"Lodash wrapper doesn't work properly","user":{"login":"akwuh","id":11235552,"avatar_url":"https://avatars.githubusercontent.com/u/11235552?v=3","gravatar_id":"","url":"https://api.github.com/users/akwuh","html_url":"https://github.com/akwuh","followers_url":"https://api.github.com/users/akwuh/followers","following_url":"https://api.github.com/users/akwuh/following{/other_user}","gists_url":"https://api.github.com/users/akwuh/gists{/gist_id}","starred_url":"https://api.github.com/users/akwuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akwuh/subscriptions","organizations_url":"https://api.github.com/users/akwuh/orgs","repos_url":"https://api.github.com/users/akwuh/repos","events_url":"https://api.github.com/users/akwuh/events{/privacy}","received_events_url":"https://api.github.com/users/akwuh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lodash/lodash/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-22T18:40:49Z","updated_at":"2015-10-22T21:22:14Z","closed_at":"2015-10-22T18:54:28Z","body":"Hi.\r\nI try to create lodash collection in this way:\r\n```javascript\r\nvar x = _([]);\r\n```\r\nAccording to [the documentation](https://lodash.com/docs#_) Javascript Array's method `push()` is still available:\r\n```javascript\r\nx.push(2);\r\n```\r\nActually, my created collection is still empty:\r\n```javascript\r\nconsole.log(x.toArray());\r\n```\r\nWhat am I doing wrong?\r\nThanks a bunch."},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/150360060","html_url":"https://github.com/lodash/lodash/issues/1557#issuecomment-150360060","issue_url":"https://api.github.com/repos/lodash/lodash/issues/1557","id":150360060,"user":{"login":"akwuh","id":11235552,"avatar_url":"https://avatars.githubusercontent.com/u/11235552?v=3","gravatar_id":"","url":"https://api.github.com/users/akwuh","html_url":"https://github.com/akwuh","followers_url":"https://api.github.com/users/akwuh/followers","following_url":"https://api.github.com/users/akwuh/following{/other_user}","gists_url":"https://api.github.com/users/akwuh/gists{/gist_id}","starred_url":"https://api.github.com/users/akwuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akwuh/subscriptions","organizations_url":"https://api.github.com/users/akwuh/orgs","repos_url":"https://api.github.com/users/akwuh/repos","events_url":"https://api.github.com/users/akwuh/events{/privacy}","received_events_url":"https://api.github.com/users/akwuh/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T21:22:13Z","updated_at":"2015-10-22T21:22:13Z","body":"@jridgewell ok, please look at the example:\r\n```javascript\r\nvar Test = {\r\n\tx: _([]),\r\n\tadd: function(){\r\n\t\tthis.x = this.x.push({\"name\": 2});\r\n\t},\r\n\tget: function(){\r\n\t\treturn this.x.value();\r\n\t}\r\n};\r\nTest.add();\r\nTest.get(); // [{\"name\": 2}]\r\nTest.get(); // [{\"name\": 2}, {\"name\": 2}]\r\n```\r\nAt the same time `get` method should be consistent."}}