Created
September 11, 2018 08:13
-
-
Save ristaa/b034edba5e17643e092945c3b97ef2a5 to your computer and use it in GitHub Desktop.
forEach helper ES6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var colors = ['red', 'yellow', 'purple']; | |
colors.forEach(function(color) { | |
console.log(color); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment