{"action":"closed","issue":{"url":"https://api.github.com/repos/luishendrix92/My-FreeCodeCamp-Path/issues/1","labels_url":"https://api.github.com/repos/luishendrix92/My-FreeCodeCamp-Path/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/luishendrix92/My-FreeCodeCamp-Path/issues/1/comments","events_url":"https://api.github.com/repos/luishendrix92/My-FreeCodeCamp-Path/issues/1/events","html_url":"https://github.com/luishendrix92/My-FreeCodeCamp-Path/issues/1","id":98813634,"number":1,"title":"Palindrome Solution - Use of Ternary Operator?","user":{"login":"SaintPeter","id":553494,"avatar_url":"https://avatars.githubusercontent.com/u/553494?v=3","gravatar_id":"","url":"https://api.github.com/users/SaintPeter","html_url":"https://github.com/SaintPeter","followers_url":"https://api.github.com/users/SaintPeter/followers","following_url":"https://api.github.com/users/SaintPeter/following{/other_user}","gists_url":"https://api.github.com/users/SaintPeter/gists{/gist_id}","starred_url":"https://api.github.com/users/SaintPeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaintPeter/subscriptions","organizations_url":"https://api.github.com/users/SaintPeter/orgs","repos_url":"https://api.github.com/users/SaintPeter/repos","events_url":"https://api.github.com/users/SaintPeter/events{/privacy}","received_events_url":"https://api.github.com/users/SaintPeter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T18:44:52Z","updated_at":"2015-08-03T23:19:31Z","closed_at":"2015-08-03T23:19:31Z","body":"I was reviewing your solution here:\r\nhttps://github.com/luishendrix92/My-FreeCodeCamp-Path/wiki/Bonfire:-Check-for-Palindromes\r\n\r\nI'm trying to figure out why you did this:\r\n```javascript\r\nreturn (cleanStr === rev(cleanStr)) ? true : false;\r\n```\r\nIn order for the ternary operator to work, the result must ALREADY be true or false.  The ```===``` operator returns true or false, making this statement functionally equivalent:\r\n```javascript\r\nreturn (cleanStr === rev(cleanStr));\r\n```\r\n\r\n\r\n"}}