{"action":"closed","issue":{"url":"https://api.github.com/repos/rubys/ruby2js/issues/44","repository_url":"https://api.github.com/repos/rubys/ruby2js","labels_url":"https://api.github.com/repos/rubys/ruby2js/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/rubys/ruby2js/issues/44/comments","events_url":"https://api.github.com/repos/rubys/ruby2js/issues/44/events","html_url":"https://github.com/rubys/ruby2js/issues/44","id":384222344,"node_id":"MDU6SXNzdWUzODQyMjIzNDQ=","number":44,"title":"Use .includes instead of .indexOf if eslevel is bigger than 2016","user":{"login":"onnimonni","id":5691777,"node_id":"MDQ6VXNlcjU2OTE3Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/5691777?v=4","gravatar_id":"","url":"https://api.github.com/users/onnimonni","html_url":"https://github.com/onnimonni","followers_url":"https://api.github.com/users/onnimonni/followers","following_url":"https://api.github.com/users/onnimonni/following{/other_user}","gists_url":"https://api.github.com/users/onnimonni/gists{/gist_id}","starred_url":"https://api.github.com/users/onnimonni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onnimonni/subscriptions","organizations_url":"https://api.github.com/users/onnimonni/orgs","repos_url":"https://api.github.com/users/onnimonni/repos","events_url":"https://api.github.com/users/onnimonni/events{/privacy}","received_events_url":"https://api.github.com/users/onnimonni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-26T08:32:28Z","updated_at":"2018-11-28T17:55:56Z","closed_at":"2018-11-28T17:55:56Z","author_association":"COLLABORATOR","body":"We could use `.includes` instead of `.indexOf` if user asked eslevel: 2016 or later.\r\nThis would produce more cleaner code.\r\n\r\nSource: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes"}}
{"actor":{"display_login":"onnimonni"}}