Skip to content

Instantly share code, notes, and snippets.

@gpalsingh
Created March 3, 2018 06:57
Show Gist options
  • Save gpalsingh/16d242c5f6f0c8006a6c911f862dbdeb to your computer and use it in GitHub Desktop.
Save gpalsingh/16d242c5f6f0c8006a6c911f862dbdeb to your computer and use it in GitHub Desktop.
var add = (x, y) => {
var total = x + y;
return total;
}
console.log(add(2, 3));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment