Skip to content

Instantly share code, notes, and snippets.

@caasi
Last active July 1, 2019 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caasi/394197a64b9978830926156d7dfba172 to your computer and use it in GitHub Desktop.
Save caasi/394197a64b9978830926156d7dfba172 to your computer and use it in GitHub Desktop.
foo(0, 1, 2, function(x) {
return bar(0, 1, function(y) {
return x + y;
});
});
// v.s.
foo(0, 1, 2, (x) =>
bar(0, 1, (y) =>
x + y;
));
foo 0, 1, 2, x ->
bar 0, 1, y ->
x + y
x <- foo 0, 1, 2
y <- bar 0, 1
x + y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment