{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/3591","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/3591/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/3591/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/3591/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/3591","id":109831598,"number":3591,"title":"Confirm the Ending: Add test case","user":{"login":"ahstro","id":3090888,"avatar_url":"https://avatars.githubusercontent.com/u/3090888?v=3","gravatar_id":"","url":"https://api.github.com/users/ahstro","html_url":"https://github.com/ahstro","followers_url":"https://api.github.com/users/ahstro/followers","following_url":"https://api.github.com/users/ahstro/following{/other_user}","gists_url":"https://api.github.com/users/ahstro/gists{/gist_id}","starred_url":"https://api.github.com/users/ahstro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahstro/subscriptions","organizations_url":"https://api.github.com/users/ahstro/orgs","repos_url":"https://api.github.com/users/ahstro/repos","events_url":"https://api.github.com/users/ahstro/events{/privacy}","received_events_url":"https://api.github.com/users/ahstro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-05T16:05:08Z","updated_at":"2015-10-09T14:04:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/3591","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/3591","diff_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/3591.diff","patch_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/3591.patch"},"body":"Add a test case that makes sure the user can't just check the last character or word, as suggested by @ltegman in [#3587](https://github.com/FreeCodeCamp/FreeCodeCamp/issues/3587#issuecomment-145521199).\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/146880293","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/3591#issuecomment-146880293","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/3591","id":146880293,"user":{"login":"Joqr","id":14949516,"avatar_url":"https://avatars.githubusercontent.com/u/14949516?v=3","gravatar_id":"","url":"https://api.github.com/users/Joqr","html_url":"https://github.com/Joqr","followers_url":"https://api.github.com/users/Joqr/followers","following_url":"https://api.github.com/users/Joqr/following{/other_user}","gists_url":"https://api.github.com/users/Joqr/gists{/gist_id}","starred_url":"https://api.github.com/users/Joqr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joqr/subscriptions","organizations_url":"https://api.github.com/users/Joqr/orgs","repos_url":"https://api.github.com/users/Joqr/repos","events_url":"https://api.github.com/users/Joqr/events{/privacy}","received_events_url":"https://api.github.com/users/Joqr/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T14:04:04Z","updated_at":"2015-10-09T14:04:04Z","body":"It's not simply the words by themselves, but rather the information inferred from the context of the challenge. In-fact, your question, to me, furthers my initial point about this challenge.\r\n\r\nAt the start of the Bonfire Challenges, the user is instructed to consider not only the description, but also the tests that the user's code must pass. \r\n\r\nSince we know that in JavaScript, strings are usually sentences or words (they can be other characters, I know), we know that we need to write a code that can, at the very least, parse through words. \r\n\r\nNext, we may consider that our code should work for any characters, but when one looks at the tests that the code needs to pass, it is clear that the description is referring to strings of the word-type only. \r\n\r\nAlso, nowhere in the description does the challenge state that the user must write a code that bases its returned value off of the length of the target. That would be redundant code because if the last characters in the str match the characters in the target, then by nature their character-lengths match because they are identical. "}}