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

Reply to this note

Please Login to reply.

Discussion

I prefer the first option.

Noted

How would I get the individual values of arr1 in the first option?

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.