You could also something like map() even though under the hood it is pretty much a loop. As m3g4p0p said, not sure why you want to avoid the loop but this can be something you can use too…
function getValues(data) {
return Object.entries(data['time']).map(x => x[1]["1 d"]);
}
This would return an array of the values for the 1 d keys.
Yeah just to clarify @william1, with loop you mean a for construct specifically or any kind of iteration? A generator is inherently an iterator as well after all, but FWIW maybe something like this would come closest…