{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10944","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10944/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10944/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10944/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10944","id":179648529,"number":10944,"title":"Challenge Concatenating Strings with the Plus Equals Operator More Info","user":{"login":"afable","id":1513169,"avatar_url":"https://avatars.githubusercontent.com/u/1513169?v=3","gravatar_id":"","url":"https://api.github.com/users/afable","html_url":"https://github.com/afable","followers_url":"https://api.github.com/users/afable/followers","following_url":"https://api.github.com/users/afable/following{/other_user}","gists_url":"https://api.github.com/users/afable/gists{/gist_id}","starred_url":"https://api.github.com/users/afable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afable/subscriptions","organizations_url":"https://api.github.com/users/afable/orgs","repos_url":"https://api.github.com/users/afable/repos","events_url":"https://api.github.com/users/afable/events{/privacy}","received_events_url":"https://api.github.com/users/afable/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T00:09:01Z","updated_at":"2016-09-28T00:42:16Z","closed_at":null,"body":"#### Challenge: Concatenating Strings with the Plus Equals Operator\r\nhttps://www.freecodecamp.com/challenges/concatenating-strings-with-the-plus-equals-operator\r\n\r\n\r\n#### Issue Description\r\nIn the instructions given, I provided the following code:\r\n```\r\nvar myStr;\r\nmyStr += \"This is the first sentence. \";\r\nmyStr += \"This is the second sentence.\";\r\n```\r\n\r\nResulting in...\r\n```\r\nmyStr = \"undefinedThis is the first sentence. This is the second sentence.\"\r\n```\r\n\r\nWhich is as expected but I think new coders may not understand (or have forgotten) why myStr begins with \"undefined\". I suggest a hint to remind campers that myStr should first be initialized to the first sentence and then they can use the += operator.\r\n\r\n\r\n#### Browser Information\r\nWin10 Desktop Chrome, Version 53.0.2785.116 m (64-bit)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/250040606","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10944#issuecomment-250040606","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10944","id":250040606,"user":{"login":"afable","id":1513169,"avatar_url":"https://avatars.githubusercontent.com/u/1513169?v=3","gravatar_id":"","url":"https://api.github.com/users/afable","html_url":"https://github.com/afable","followers_url":"https://api.github.com/users/afable/followers","following_url":"https://api.github.com/users/afable/following{/other_user}","gists_url":"https://api.github.com/users/afable/gists{/gist_id}","starred_url":"https://api.github.com/users/afable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afable/subscriptions","organizations_url":"https://api.github.com/users/afable/orgs","repos_url":"https://api.github.com/users/afable/repos","events_url":"https://api.github.com/users/afable/events{/privacy}","received_events_url":"https://api.github.com/users/afable/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T00:42:16Z","updated_at":"2016-09-28T00:42:16Z","body":"I just noticed that the example ourStr already shows this procedure, so maybe the challenge is fine as is (I tend to overlook the examples which I assume is NOT what a new coder would do).\r\n\r\nI've also seen from other challenges that string literals are generally initialized to \"\" instead of being just declared and not initialized, so I suppose it boils down to whether FCC wants campers to  deal with an uninitialized string literal in the first place."}}
{"actor":{"display_login":"afable"}}