Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 3
JS fetch... how to return arguement value so we can reuse the function easily..?
I was trying to make a YouTube live subscribers counter. I did it for one user, but then I wanted to do it for multiple users at the same time. But Iāve been scratching my head 7283 times and canāt figure it out. Normally it would be something like this: x.innerHTML = getSubsCount(Me, something) y.innerHTML = getSubsCount(You, something) But with this fetch Ali thing... I donāt know how to work around it. A little example on what Iām talking about https://code.sololearn.com/WapXhxCK1w2D/?ref=app https://code.sololearn.com/W5W5t8xGKJS7/?ref=app
1 Resposta
+ 1
It's not possible.
You can find some alternatives here
https://www.sololearn.com/discuss/2552332/?ref=app