Created
December 26, 2018 10:08
-
-
Save bhubr/2192befcc30b1c4670d123b283c0a15c to your computer and use it in GitHub Desktop.
passLog
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
// Without label | |
const passLog = obj => { console.log(obj); return obj; }; | |
// With label | |
const passLog = label => obj => { console.log(label, obj); return obj; }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment