Created
July 25, 2013 03:32
-
-
Save rtfeldman/6076719 to your computer and use it in GitHub Desktop.
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
inc x = x + 1 | |
log str = console.log str | |
console.log (inc 5) | |
log 500 | |
// Output: | |
var inc = function (x) { | |
return x + 1; | |
}; | |
var log = function (str) { | |
return console.log(str); | |
}; | |
console.log(inc(5)); | |
log(500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment