Created
May 5, 2019 08:59
-
-
Save zenius/9fbeb8bc58bfd28626b2f6c6aa9ea15f 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
/*Unary function */ | |
function unary(fn){ | |
return function unaryDecorator(first){ | |
return fn.call(this, first); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment