{"action":"created","issue":{"url":"https://api.github.com/repos/tc39/proposal-observable/issues/194","repository_url":"https://api.github.com/repos/tc39/proposal-observable","labels_url":"https://api.github.com/repos/tc39/proposal-observable/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/tc39/proposal-observable/issues/194/comments","events_url":"https://api.github.com/repos/tc39/proposal-observable/issues/194/events","html_url":"https://github.com/tc39/proposal-observable/issues/194","id":347600610,"node_id":"MDU6SXNzdWUzNDc2MDA2MTA=","number":194,"title":"`obs.subscribe(next, error, complete)` should bind their callbacks to `undefined` when present","user":{"login":"isiahmeadows","id":4483844,"node_id":"MDQ6VXNlcjQ0ODM4NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4483844?v=4","gravatar_id":"","url":"https://api.github.com/users/isiahmeadows","html_url":"https://github.com/isiahmeadows","followers_url":"https://api.github.com/users/isiahmeadows/followers","following_url":"https://api.github.com/users/isiahmeadows/following{/other_user}","gists_url":"https://api.github.com/users/isiahmeadows/gists{/gist_id}","starred_url":"https://api.github.com/users/isiahmeadows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isiahmeadows/subscriptions","organizations_url":"https://api.github.com/users/isiahmeadows/orgs","repos_url":"https://api.github.com/users/isiahmeadows/repos","events_url":"https://api.github.com/users/isiahmeadows/events{/privacy}","received_events_url":"https://api.github.com/users/isiahmeadows/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-04T08:30:26Z","updated_at":"2018-08-04T09:53:45Z","closed_at":null,"author_association":"NONE","body":"It seems odd and inconsistent for them to have a `this` that's:\r\n\r\n1. provided by the language only\r\n1. not `undefined` like pretty much everything else\r\n\r\nPretty much everything else in the language binds things to `undefined` where necessary when a function is passed as a clear non-method, so why shouldn't this?"},"comment":{"url":"https://api.github.com/repos/tc39/proposal-observable/issues/comments/410437902","html_url":"https://github.com/tc39/proposal-observable/issues/194#issuecomment-410437902","issue_url":"https://api.github.com/repos/tc39/proposal-observable/issues/194","id":410437902,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQzNzkwMg==","user":{"login":"benjamingr","id":1315533,"node_id":"MDQ6VXNlcjEzMTU1MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1315533?v=4","gravatar_id":"","url":"https://api.github.com/users/benjamingr","html_url":"https://github.com/benjamingr","followers_url":"https://api.github.com/users/benjamingr/followers","following_url":"https://api.github.com/users/benjamingr/following{/other_user}","gists_url":"https://api.github.com/users/benjamingr/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingr/subscriptions","organizations_url":"https://api.github.com/users/benjamingr/orgs","repos_url":"https://api.github.com/users/benjamingr/repos","events_url":"https://api.github.com/users/benjamingr/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingr/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T09:53:45Z","updated_at":"2018-08-04T09:53:45Z","author_association":"NONE","body":"Well, honestly I always aw observables as:\r\n\r\n```js\r\nclass Observable {\r\n  constructor(subscribe) { this.subscribe = subscribe; }\r\n}\r\n```\r\n\r\nWhich is a \"minimal observable implementation\" (just a function reference I can call to). In that scenario when calling `.subscribe` on the observable - I would expect the `this` value to be the observable I am subscribing to.\r\n\r\nThat said, I don't recall ever using it in any way ever."}}
{"actor":{"display_login":"benjamingr"}}