Skip to content

Instantly share code, notes, and snippets.

@rtfeldman
Created July 25, 2013 03:32
Show Gist options
  • Save rtfeldman/6076719 to your computer and use it in GitHub Desktop.
Save rtfeldman/6076719 to your computer and use it in GitHub Desktop.
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