{"action":"opened","issue":{"url":"https://api.github.com/repos/Rich-Harris/vlq/issues/7","repository_url":"https://api.github.com/repos/Rich-Harris/vlq","labels_url":"https://api.github.com/repos/Rich-Harris/vlq/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Rich-Harris/vlq/issues/7/comments","events_url":"https://api.github.com/repos/Rich-Harris/vlq/issues/7/events","html_url":"https://github.com/Rich-Harris/vlq/issues/7","id":320814876,"number":7,"title":"Difference between 0 and -0","user":{"login":"ehmicky","id":8136211,"avatar_url":"https://avatars2.githubusercontent.com/u/8136211?v=4","gravatar_id":"","url":"https://api.github.com/users/ehmicky","html_url":"https://github.com/ehmicky","followers_url":"https://api.github.com/users/ehmicky/followers","following_url":"https://api.github.com/users/ehmicky/following{/other_user}","gists_url":"https://api.github.com/users/ehmicky/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmicky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmicky/subscriptions","organizations_url":"https://api.github.com/users/ehmicky/orgs","repos_url":"https://api.github.com/users/ehmicky/repos","events_url":"https://api.github.com/users/ehmicky/events{/privacy}","received_events_url":"https://api.github.com/users/ehmicky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T13:57:07Z","updated_at":"2018-05-07T13:57:07Z","closed_at":null,"author_association":"NONE","body":"`0` and `-0` should be encoded to `A` and `B`. At the moment, they are both encoded to `A`.\r\n\r\nHowever decoding works as expected.\r\n\r\n```\r\nvlq.encode(0) // 'A'\r\nvlq.encode(-0) // 'A'\r\nvlq.decode('A') // [0]\r\nvlq.decode('B') // [-0]\r\nObject.is(vlq.decode(vlq.encode(-0))[0], -0) // false\r\n```"}}
{"actor":{"display_login":"ehmicky"}}