This code will output the same logo (of the last element of the array) 7 times.
so the question is:
Why is it that when I look at channeIInfo outsite the getJSON function it gets the right URL(using the array elements one by one) but when I look at the same variable inside the function it always gets the last element of the array ? Even the first time it goes through
the same channelInfo variable is being reassigned in the loop - any async callback in the loop unexpectedly using last value of channelInfo ran after the loop was complete - the fix is to declare channelInfo inside the loop like this
let channelInfo = "https://wind-bow.gomix.me/twitch-api/channels/"
channelInfo += streamers[i]