Skip to content

Instantly share code, notes, and snippets.

@alexmccabe
Created January 15, 2018 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexmccabe/67ae0f3169acd2562fa51b643f686e53 to your computer and use it in GitHub Desktop.
Save alexmccabe/67ae0f3169acd2562fa51b643f686e53 to your computer and use it in GitHub Desktop.
const temp = cityData.list.map(item => item.main.temp);
const humidity = cityData.list.map(item => item.main.humidity);
const pressure = cityData.list.map(item => item.main.pressure);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment