{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8259","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8259/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8259/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8259/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8259","id":150561300,"number":8259,"title":"Bug in Steamroller challenge","user":{"login":"sdg123","id":3778313,"avatar_url":"https://avatars.githubusercontent.com/u/3778313?v=3","gravatar_id":"","url":"https://api.github.com/users/sdg123","html_url":"https://github.com/sdg123","followers_url":"https://api.github.com/users/sdg123/followers","following_url":"https://api.github.com/users/sdg123/following{/other_user}","gists_url":"https://api.github.com/users/sdg123/gists{/gist_id}","starred_url":"https://api.github.com/users/sdg123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdg123/subscriptions","organizations_url":"https://api.github.com/users/sdg123/orgs","repos_url":"https://api.github.com/users/sdg123/repos","events_url":"https://api.github.com/users/sdg123/events{/privacy}","received_events_url":"https://api.github.com/users/sdg123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-23T14:42:24Z","updated_at":"2016-04-23T14:51:11Z","closed_at":"2016-04-23T14:51:11Z","body":"Challenge [Steamroller](https://www.freecodecamp.com/challenges/steamroller#?solution=var%20new_arr%3D%5B%5D%3B%0Afunction%20steamrollArray(arr)%20%7B%0A%20%20%2F%2F%20I'm%20a%20steamroller%2C%20baby%0A%20%20for(var%20i%3D0%3Bi%3Carr.length%3Bi%2B%2B)%0A%20%20%20%20%7B%0A%20%20%20%20if(Array.isArray(arr%5Bi%5D))%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20steamrollArray(arr%5Bi%5D)%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20else%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20new_arr.push(arr%5Bi%5D)%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20return%20new_arr%3B%0A%7D%0A%0AsteamrollArray(%5B1%2C%20%7B%7D%2C%20%5B3%2C%20%5B%5B4%5D%5D%5D%5D)%3B%0A) has an issue.\r\nUser Agent is: <code>Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36</code>.\r\nPlease describe how to reproduce this issue, and include links to screenshots if possible.\r\nAll the test cases produce a valid output but the challenge does not get completed.\r\nMy code:\r\n```javascript\r\nvar new_arr=[];\r\nfunction steamrollArray(arr) {\r\n  // I'm a steamroller, baby\r\n  for(var i=0;i<arr.length;i++)\r\n    {\r\n    if(Array.isArray(arr[i]))\r\n      {\r\n        steamrollArray(arr[i]);\r\n      }\r\n     else\r\n      {\r\n        new_arr.push(arr[i]);\r\n      }\r\n    }\r\n      \r\n  return new_arr;\r\n}\r\n\r\nsteamrollArray([1, {}, [3, [[4]]]]);\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/213752881","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8259#issuecomment-213752881","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/8259","id":213752881,"user":{"login":"theflametrooper","id":11198912,"avatar_url":"https://avatars.githubusercontent.com/u/11198912?v=3","gravatar_id":"","url":"https://api.github.com/users/theflametrooper","html_url":"https://github.com/theflametrooper","followers_url":"https://api.github.com/users/theflametrooper/followers","following_url":"https://api.github.com/users/theflametrooper/following{/other_user}","gists_url":"https://api.github.com/users/theflametrooper/gists{/gist_id}","starred_url":"https://api.github.com/users/theflametrooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theflametrooper/subscriptions","organizations_url":"https://api.github.com/users/theflametrooper/orgs","repos_url":"https://api.github.com/users/theflametrooper/repos","events_url":"https://api.github.com/users/theflametrooper/events{/privacy}","received_events_url":"https://api.github.com/users/theflametrooper/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T14:51:11Z","updated_at":"2016-04-23T14:51:11Z","body":"Please use the [Help](https://gitter.im/FreeCodeCamp/Help) chat room for getting challenge related help. Happy Coding!"}}