The following API returns some JSON data:
I am trying to push the properties (also objects) of the Pages object into a single array. Each object should be its own element in the array.
For example query.pages
should be pushed into an array like [38940{}, 284306{}, ...]
Im doing this so that I can run through the array using ForEach and populate the DOM with the required data.
Thanks in advance!