{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/11073","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/11073/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/11073/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/11073/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11073","id":181357521,"number":11073,"title":"Stand In Line challenge: Here's my code: But system won't allow me to proceed I don't know why?","user":{"login":"ahmedghandour","id":22434584,"avatar_url":"https://avatars.githubusercontent.com/u/22434584?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedghandour","html_url":"https://github.com/ahmedghandour","followers_url":"https://api.github.com/users/ahmedghandour/followers","following_url":"https://api.github.com/users/ahmedghandour/following{/other_user}","gists_url":"https://api.github.com/users/ahmedghandour/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedghandour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedghandour/subscriptions","organizations_url":"https://api.github.com/users/ahmedghandour/orgs","repos_url":"https://api.github.com/users/ahmedghandour/repos","events_url":"https://api.github.com/users/ahmedghandour/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedghandour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T08:52:04Z","updated_at":"2016-10-06T09:43:32Z","closed_at":null,"body":"Challenge [Stand in Line](https://www.freecodecamp.com/challenges/stand-in-line#?solution=%0Afunction%20nextInLine(arr%2C%20item)%20%7B%0A%20%20%2F%2F%20Your%20code%20here%0A%20%20%0A%20%20testArr.push(item)%3B%0A%20%20return%20testArr.shift()%3B%20%20%2F%2F%20Change%20this%20line%0A%7D%0A%0A%2F%2F%20Test%20Setup%0Avar%20testArr%20%3D%20%5B1%2C2%2C3%2C4%2C5%5D%3B%0A%0A%2F%2F%20Display%20Code%0Aconsole.log(%22Before%3A%20%22%20%2B%20JSON.stringify(testArr))%3B%0Aconsole.log(nextInLine(testArr%2C%205))%3B%20%2F%2F%20Modify%20this%20line%20to%20test%0Aconsole.log(%22After%3A%20%22%20%2B%20JSON.stringify(testArr))%3B%0A) has an issue.\r\nUser Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36</code>.\r\nPlease describe how to reproduce this issue, and include links to screenshots if possible.\r\n\r\nMy code:\r\n```javascript\r\n\r\nfunction nextInLine(arr, item) {\r\n  // Your code here\r\n  \r\n  testArr.push(item);\r\n  return testArr.shift();  // Change this line\r\n}\r\n\r\n// Test Setup\r\nvar testArr = [1,2,3,4,5];\r\n\r\n// Display Code\r\nconsole.log(\"Before: \" + JSON.stringify(testArr));\r\nconsole.log(nextInLine(testArr, 5)); // Modify this line to test\r\nconsole.log(\"After: \" + JSON.stringify(testArr));\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/251915078","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11073#issuecomment-251915078","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/11073","id":251915078,"user":{"login":"Dayfiri","id":16082563,"avatar_url":"https://avatars.githubusercontent.com/u/16082563?v=3","gravatar_id":"","url":"https://api.github.com/users/Dayfiri","html_url":"https://github.com/Dayfiri","followers_url":"https://api.github.com/users/Dayfiri/followers","following_url":"https://api.github.com/users/Dayfiri/following{/other_user}","gists_url":"https://api.github.com/users/Dayfiri/gists{/gist_id}","starred_url":"https://api.github.com/users/Dayfiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dayfiri/subscriptions","organizations_url":"https://api.github.com/users/Dayfiri/orgs","repos_url":"https://api.github.com/users/Dayfiri/repos","events_url":"https://api.github.com/users/Dayfiri/events{/privacy}","received_events_url":"https://api.github.com/users/Dayfiri/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T09:43:32Z","updated_at":"2016-10-06T09:43:32Z","body":"Challenge works fine and here is an example of that. Problem is in your code, so check it again and tell me how it goes ;)\r\n\r\n![screenshot at 2016-10-06 11 41 02](https://cloud.githubusercontent.com/assets/16082563/19147749/dc2435ce-8bb9-11e6-8569-b30390635197.png)\r\n"}}
{"actor":{"display_login":"Dayfiri"}}