{"comment":{"url":"https://api.github.com/repos/Rise-Vision/widget-google-calendar/comments/9346805","html_url":"https://github.com/Rise-Vision/widget-google-calendar/commit/449bf2ae8dbd68662b7c9841369a0e41bbb029c6#commitcomment-9346805","id":9346805,"user":{"login":"stulees","id":7407007,"avatar_url":"https://avatars.githubusercontent.com/u/7407007?v=3","gravatar_id":"","url":"https://api.github.com/users/stulees","html_url":"https://github.com/stulees","followers_url":"https://api.github.com/users/stulees/followers","following_url":"https://api.github.com/users/stulees/following{/other_user}","gists_url":"https://api.github.com/users/stulees/gists{/gist_id}","starred_url":"https://api.github.com/users/stulees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stulees/subscriptions","organizations_url":"https://api.github.com/users/stulees/orgs","repos_url":"https://api.github.com/users/stulees/repos","events_url":"https://api.github.com/users/stulees/events{/privacy}","received_events_url":"https://api.github.com/users/stulees/received_events","type":"User","site_admin":false},"position":27,"line":83,"path":"src/settings/ctr-google-calendar-settings.js","commit_id":"449bf2ae8dbd68662b7c9841369a0e41bbb029c6","created_at":"2015-01-19T21:51:10Z","updated_at":"2015-01-19T21:51:10Z","body":"@donnapep I read that best practice is to use `typeof` because the `typeof` operator is guaranteed to return a string. Direct comparisons against `undefined` are troublesome as `undefined` can be overwritten. Perhaps this was only an issue in JS previous to ECMAScript 5 though. Thanks "}}