Last active
December 7, 2019 19:47
-
-
Save Dromediansk/63f5d1f37656ab4bc59897134edbc837 to your computer and use it in GitHub Desktop.
closure 2. example
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
const handleFamily = () => { | |
const myGrandpa = 'grandpa'; | |
return sayHello = () => { | |
const myFather = 'father'; | |
return 'Hello there!'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment