I am encountering an issue with accessing arrays returned from a `GET` response. The names of these arrays may vary depending on the request, so I have a variable that specifies which array to use.
Unfortunately, I keep receiving 'undefined'. For example:
console.log(current); // trips_out_201702
console.log(theResponse.current); // undefined
console.log(theResponse.trips_out_201702); // this works
How can I modify `theResponse.current` to properly return what `current` represents? Why is it returning 'undefined' in this case?