{"action":"closed","issue":{"url":"https://api.github.com/repos/jshint/jshint/issues/2479","labels_url":"https://api.github.com/repos/jshint/jshint/issues/2479/labels{/name}","comments_url":"https://api.github.com/repos/jshint/jshint/issues/2479/comments","events_url":"https://api.github.com/repos/jshint/jshint/issues/2479/events","html_url":"https://github.com/jshint/jshint/issues/2479","id":90050406,"number":2479,"title":"inline if statement produces errors","user":{"login":"Gamesh","id":171747,"avatar_url":"https://avatars.githubusercontent.com/u/171747?v=3","gravatar_id":"","url":"https://api.github.com/users/Gamesh","html_url":"https://github.com/Gamesh","followers_url":"https://api.github.com/users/Gamesh/followers","following_url":"https://api.github.com/users/Gamesh/following{/other_user}","gists_url":"https://api.github.com/users/Gamesh/gists{/gist_id}","starred_url":"https://api.github.com/users/Gamesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gamesh/subscriptions","organizations_url":"https://api.github.com/users/Gamesh/orgs","repos_url":"https://api.github.com/users/Gamesh/repos","events_url":"https://api.github.com/users/Gamesh/events{/privacy}","received_events_url":"https://api.github.com/users/Gamesh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T09:15:32Z","updated_at":"2015-06-22T09:44:48Z","closed_at":"2015-06-22T09:44:48Z","body":"```javascript\r\n        toggle: function () {\r\n            this.isActive() ? this.hide() : this.show();\r\n            return this;\r\n        }\r\n```\r\njshint v.2.8.0, outputs error:\r\n```\r\nExpected an assignment or function call and instead saw an expression.\r\n```\r\n\r\nif the same code is replaced with non inline if statement's, it does not produce this error.\r\ni'm thinking this is a false possitive\r\n"}}