Hello,
sorry for my stupid question I’m new to javascript. so I want to make a twitch bot I can get my viewers numbers and list in a json file but I can’t extract the array from the json file i get an undefined object.
here is my code
Hello,
sorry for my stupid question I’m new to javascript. so I want to make a twitch bot I can get my viewers numbers and list in a json file but I can’t extract the array from the json file i get an undefined object.
here is my code
i = NbViewers-1
i <= NbViewers-1
thanks for your help I have another issue with the function node_fetch my array listviewers don’t seem to conserve the data after I close the function json.
Do somebody know how to keep the data
you’re running into this conundrum where a piece of code that comes after the end / “close” of the json => { ... }
function comes lexically after the code inside, but chronologically it actually executes before. weird, huh?