Created
February 9, 2017 14:16
-
-
Save artem-alek/5e93b6af72bab6272a20c613fd15f9ce 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. To ensure that we know what data type we are working with. That it s jquerified for the rest of the function. | |
2. jqButton is a jquerified and is not able to be used with .innerHTML because it is a regualr javascript function. We need to use .html(). | |
Section 2: | |
1. event because the event is that holds the object of the click. | |
2. It refers to the key of object event. So, .target is a key in the object event. | |
Section 3: | |
1. No idea, i get lost when i need to have two arugments. | |
2. powers.map(function (double) { return double * 2 }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment