tr:nth-child(2)
or some such?
:star2: 8839 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Promise.all(channels.map(channel => $.getJSON(`${baseUrl}/channels/${channel}?callback=?`)
.then(channelResult => $.getJSON(`${baseUrl}/streams/${channelResult.name}?callback=?`))
))
.then(results => {
// treat this as a global scope that has access to your api results
});
:cookie: 504 | @kbaig |http://www.freecodecamp.org/kbaig
newstr
, though it could be confusing
var str = pairElement("GCG");
:cookie: 505 | @kbaig |http://www.freecodecamp.org/kbaig