{"action":"created","issue":{"url":"https://api.github.com/repos/codingforeveryone/js/issues/8","labels_url":"https://api.github.com/repos/codingforeveryone/js/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/codingforeveryone/js/issues/8/comments","events_url":"https://api.github.com/repos/codingforeveryone/js/issues/8/events","html_url":"https://github.com/codingforeveryone/js/issues/8","id":107054698,"number":8,"title":"Write function revertString","user":{"login":"patrickwalkowicz","id":14148737,"avatar_url":"https://avatars.githubusercontent.com/u/14148737?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickwalkowicz","html_url":"https://github.com/patrickwalkowicz","followers_url":"https://api.github.com/users/patrickwalkowicz/followers","following_url":"https://api.github.com/users/patrickwalkowicz/following{/other_user}","gists_url":"https://api.github.com/users/patrickwalkowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickwalkowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickwalkowicz/subscriptions","organizations_url":"https://api.github.com/users/patrickwalkowicz/orgs","repos_url":"https://api.github.com/users/patrickwalkowicz/repos","events_url":"https://api.github.com/users/patrickwalkowicz/events{/privacy}","received_events_url":"https://api.github.com/users/patrickwalkowicz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T19:22:26Z","updated_at":"2015-09-19T07:57:46Z","closed_at":null,"body":"# Revert String\r\n\r\nI've got a string manipulation problem to solve for you.\r\n\r\nWrite a function that will revert a word but preserve the original lowercase/uppercase letter order. It's easiest to explain with examples:\r\n- If you pass \"JavaScript\", the function should return \"TpirCsavaj\"\r\n- If you pass \"RaNdom\", the function should return \"MoDnar\"\r\nAs you can see looking at the output, the string itself is reverted *but* the order of capital letters is preserved - just the same as in the input string (in \"RaNdom\" the first and third letter is capital in both input and output).\r\n\r\n# Input restrictions:\r\n- You can assume that only one word will be passed as input\r\n- Input of type string, only alphabetical characters\r\n\r\nMy idea is to start with simple one-word input and improve as we go - eventually getting to multiple words and characters other than alphabetical."},"comment":{"url":"https://api.github.com/repos/codingforeveryone/js/issues/comments/141634593","html_url":"https://github.com/codingforeveryone/js/issues/8#issuecomment-141634593","issue_url":"https://api.github.com/repos/codingforeveryone/js/issues/8","id":141634593,"user":{"login":"daymos","id":5450558,"avatar_url":"https://avatars.githubusercontent.com/u/5450558?v=3","gravatar_id":"","url":"https://api.github.com/users/daymos","html_url":"https://github.com/daymos","followers_url":"https://api.github.com/users/daymos/followers","following_url":"https://api.github.com/users/daymos/following{/other_user}","gists_url":"https://api.github.com/users/daymos/gists{/gist_id}","starred_url":"https://api.github.com/users/daymos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daymos/subscriptions","organizations_url":"https://api.github.com/users/daymos/orgs","repos_url":"https://api.github.com/users/daymos/repos","events_url":"https://api.github.com/users/daymos/events{/privacy}","received_events_url":"https://api.github.com/users/daymos/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T07:57:46Z","updated_at":"2015-09-19T07:57:46Z","body":"pushed, should work"}}