Skip to content

Instantly share code, notes, and snippets.

@Paul-Browne
Created December 13, 2019 11:07
Show Gist options
  • Save Paul-Browne/6ff61d6f7b86a38d3173fd93f4304b98 to your computer and use it in GitHub Desktop.
Save Paul-Browne/6ff61d6f7b86a38d3173fd93f4304b98 to your computer and use it in GitHub Desktop.
var days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
days.forEach( (element, index) => {
console.log(element, index);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment