Skip to content

Instantly share code, notes, and snippets.

@cassiozen
Created November 29, 2018 00:21
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 cassiozen/9e179e4e5a3331ce55912f789711728d to your computer and use it in GitHub Desktop.
Save cassiozen/9e179e4e5a3331ce55912f789711728d to your computer and use it in GitHub Desktop.
function weatherReport(location) {
// Make an Ajax request to fetch the weather...
return [72, "Mostly Sunny"];
}
const [temp, forecast] = weatherReport("Berkeley, CA");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment