{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6649","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6649/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6649/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6649/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6649","id":129201313,"number":6649,"title":"Salsa should not suggest \"caller\" in strict mode as it causes TypeError","user":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-27T16:41:40Z","updated_at":"2016-01-27T16:41:40Z","closed_at":null,"body":"_From @alexandrudima on January 27, 2016 14:22_\n\nTesting #2218\r\n\r\n```javascript\r\n\r\nfunction restricted()\r\n{\r\n\t\"use strict\";\r\n\trestricted.ca\r\n}\r\n\r\nconsole.log(restricted());\r\n\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5047891/12616078/86662484-c509-11e5-9926-be664d667425.png)\r\n\r\nSince we're at it, it could also highlight the `caller` and `arguments` below with a squiggly indicating a `TypeError`:\r\n\r\n```javascript\r\n\r\nfunction restricted()\r\n{\r\n\t\"use strict\";\r\n\trestricted.caller;    // throws a TypeError\r\n\trestricted.arguments; // throws a TypeError\r\n}\r\n\r\nconsole.log(restricted());\r\n```\n\n_Copied from original issue: Microsoft/vscode#2454_"}}