Explain me why my twitch app is malfunctioning [Solved]

I called getjson for channels and pushed the resultant object in a array one by one,now when i reload my page everytime ,it is showing channel names in random order,even when i am calling them by array index.
link is http://codepen.io/AronStone/pen/qadmkz?editors=0011

Asynchronous code is not guaranteed to resolve in the same order it was called.

1 Like