My TwitchTV project is at: https://marcnshapiro.github.io/twitch/index.html
I have spent most of 13 hours today on this project and this final twist is just driving me up a wall! I have inserted two ‘alerts’ in my code. One near the top, at line 31, just after I get my stream data for the current channel, and one near the end at line 82 when I am just about done processing the current channel…
These alerts do NOTHING! They are, in fact displaying a null string. Originally they were displaying data for testing, but I have changed them to null strings to clearly show that they are not actually doing anything. But if I take them out then the program gives incorrect results!
With two alerts either commented, or not, there are four possibilities. All four ways should give the same (correct) results. Unfortunately, with both alerts uncommented I get the correct result, but have to ‘OK’ two alerts for every channel. With either, or both alerts commented I get incorrect result. In fact, I get a different type of incorrect result with each of the three possibilities.