When fetching multiple datasets at once, do y'all prefer
[arr1, arr2]
OR
[
[arr1[0], arr2[0]],
[arr1[1], arr2[1]],
...
]
?
Currently supporting the first option in BRK
How would I get the individual values of arr1 in the first option?
Please Login to reply.
Just like on the screenshot (which is option 1)
res = fetch(URL).json()
arr 1 = res[0]
wantedValue = arr1[index]
Hope that's clear enough
Ouh yes, that's also how I would prefer it! Thanks.