Created
July 6, 2017 14:57
-
-
Save bmorelli25/01af20b77ee6c566aba8300cab0bf7e5 to your computer and use it in GitHub Desktop.
closure example 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
| function name(n) { | |
| return function(a) { | |
| return `${n} likes ${a}`; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment