Skip to content

Instantly share code, notes, and snippets.

@glenncogar
Created November 7, 2017 05:06
Show Gist options
  • Save glenncogar/48a391b6b2489812d626438af2754bdb to your computer and use it in GitHub Desktop.
Save glenncogar/48a391b6b2489812d626438af2754bdb to your computer and use it in GitHub Desktop.
// arguments object - no longer bound with arrow functions
const add = (a, b) => {
// console.log(arguments);
return a + b;
};
console.log(add(55, 1, 1001));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment