Created
February 7, 2017 14:14
-
-
Save artem-alek/c307abc5096ad4fd58dd930d5da89861 to your computer and use it in GitHub Desktop.
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
Section 1: | |
1. A callback calls another function to do something with a variable or data. | |
2. var evens = numbers.filter (function (nums) { return nums = numbers % 2 === 0 }) | |
3. i used an anynonymus function and numbers.filter is the higher function and does the callback. | |
Section 2: | |
1. a string with methods attached to it | |
2. function isPariable (array) { return array.length % 2 === 0 } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment