{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/3624","repository_url":"https://api.github.com/repos/lodash/lodash","labels_url":"https://api.github.com/repos/lodash/lodash/issues/3624/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/3624/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/3624/events","html_url":"https://github.com/lodash/lodash/issues/3624","id":293849445,"number":3624,"title":"Safe to assume object keys are iterated in original order?","user":{"login":"leoskyrocker","id":2366893,"avatar_url":"https://avatars3.githubusercontent.com/u/2366893?v=4","gravatar_id":"","url":"https://api.github.com/users/leoskyrocker","html_url":"https://github.com/leoskyrocker","followers_url":"https://api.github.com/users/leoskyrocker/followers","following_url":"https://api.github.com/users/leoskyrocker/following{/other_user}","gists_url":"https://api.github.com/users/leoskyrocker/gists{/gist_id}","starred_url":"https://api.github.com/users/leoskyrocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoskyrocker/subscriptions","organizations_url":"https://api.github.com/users/leoskyrocker/orgs","repos_url":"https://api.github.com/users/leoskyrocker/repos","events_url":"https://api.github.com/users/leoskyrocker/events{/privacy}","received_events_url":"https://api.github.com/users/leoskyrocker/received_events","type":"User","site_admin":false},"labels":[{"id":2763156,"url":"https://api.github.com/repos/lodash/lodash/labels/question","name":"question","color":"d4c5f9","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T10:56:30Z","updated_at":"2018-02-02T16:19:03Z","closed_at":"2018-02-02T16:19:03Z","author_association":"NONE","body":"I thought js objects are unordered collections and iteration order is not guaranteed,\r\nbut from many suggestions I see in the issues or stackoverflow it seems people are relying on\r\nthe fact that the iteration order is left-to-right in original order.\r\n\r\nI was looking for a Map equivalent in lodash for ordered collection but didn't find any.\r\nI understand that it would be the safest to use an ordered collection,\r\nbut is it *fairly safe* to make the above assumption on unordered collections too?"},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/362631650","html_url":"https://github.com/lodash/lodash/issues/3624#issuecomment-362631650","issue_url":"https://api.github.com/repos/lodash/lodash/issues/3624","id":362631650,"user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars2.githubusercontent.com/u/4303?v=4","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T16:19:03Z","updated_at":"2018-02-02T16:19:03Z","author_association":"OWNER","body":"Hi @leoskyrocker!\r\n\r\nLater version of the js spec did specify object iteration order for own properties but it depends on engine and environment. Use a `Map` polly fill if you need one."}}
{"actor":{"display_login":"jdalton"}}