Last active
November 10, 2017 09:10
-
-
Save lucasscariot/0e8ba0ff644614e066a7d9e9449b9375 to your computer and use it in GitHub Desktop.
How to pass an extra parameter in a Callback function
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
function foo(extra param) { | |
tab.some(tabElement => callbackFunction(tabElement, address)) { | |
console.log(address); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment