Created
February 24, 2018 14:20
-
-
Save haingdc/768daee4d6285876153f58eac7eca1df to your computer and use it in GitHub Desktop.
A Gentle Introduction to Functional JavaScript: Part 1
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
var doSomething = function(thing) { | |
thing(); | |
} | |
var sayBigDeal = function() { | |
var message = "I’m kind of a big deal"; | |
log(message); | |
} | |
doSomething(sayBigDeal); | |
// I’m kind of a big deal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment