Created
February 28, 2018 10:35
-
-
Save haingdc/8a22572e9ccd520697ff321b69cb3a28 to your computer and use it in GitHub Desktop.
A Gentle Introduction to Functional JavaScript: Part 2
This file contains hidden or 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 colours = [ | |
| 'red', 'orange', 'yellow', | |
| 'green', 'blue', 'purple' | |
| ]; | |
| colours.forEach(addColour); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment