{"action":"opened","issue":{"url":"https://api.github.com/repos/huluoyang/freecodecamp.cn/issues/147","repository_url":"https://api.github.com/repos/huluoyang/freecodecamp.cn","labels_url":"https://api.github.com/repos/huluoyang/freecodecamp.cn/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/huluoyang/freecodecamp.cn/issues/147/comments","events_url":"https://api.github.com/repos/huluoyang/freecodecamp.cn/issues/147/events","html_url":"https://github.com/huluoyang/freecodecamp.cn/issues/147","id":169312419,"number":147,"title":"[183] Stand in Line   在 提示文本queue(testArr, 10) 之后, myArr[4] 的值应该是 10 中   myArr[4]应该是testArr[4]","user":{"login":"alan-zhou","id":18456737,"avatar_url":"https://avatars.githubusercontent.com/u/18456737?v=3","gravatar_id":"","url":"https://api.github.com/users/alan-zhou","html_url":"https://github.com/alan-zhou","followers_url":"https://api.github.com/users/alan-zhou/followers","following_url":"https://api.github.com/users/alan-zhou/following{/other_user}","gists_url":"https://api.github.com/users/alan-zhou/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-zhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-zhou/subscriptions","organizations_url":"https://api.github.com/users/alan-zhou/orgs","repos_url":"https://api.github.com/users/alan-zhou/repos","events_url":"https://api.github.com/users/alan-zhou/events{/privacy}","received_events_url":"https://api.github.com/users/alan-zhou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T07:50:29Z","updated_at":"2016-08-04T07:50:29Z","closed_at":null,"body":"Challenge [Stand in Line](https://freecodecamp.cn/challenges/stand-in-line#?solution=function%20queue(arr%2C%20item)%20%7B%0A%20%20%2F%2F%20Your%20code%20here%0A%20%20arr.push(item)%3B%0A%20%20return%20item%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(queue(testArr%2C%206))%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 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 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\nfunction queue(arr, item) {\r\n  // Your code here\r\n  arr.push(item);\r\n  return item;  // 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(queue(testArr, 6)); // Modify this line to test\r\nconsole.log(\"After: \" + JSON.stringify(testArr));\r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"alan-zhou"}}