Created
October 18, 2020 22:18
-
-
Save MeetMartin/0742331b873c804840a914f6fbfdc1d1 to your computer and use it in GitHub Desktop.
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
| const myFirstClassFunction = function(a) { | |
| return function(b) { | |
| return a + b; | |
| }; | |
| }; | |
| myFirstClassFunction(1)(2); // => 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment