Skip to content

Instantly share code, notes, and snippets.

@haingdc
Created March 13, 2018 04:46
Show Gist options
  • Save haingdc/2e51d1bf41725d1acdfe11555da44733 to your computer and use it in GitHub Desktop.
Save haingdc/2e51d1bf41725d1acdfe11555da44733 to your computer and use it in GitHub Desktop.
A Gentle Introduction to Functional JavaScript: Part 3
var showArgs = function(a, b) {
console.log(arguments);
}
showArgs('Tweedledee', 'Tweedledum');
//=> { '0': 'Tweedledee', '1': 'Tweedledum' } (🌟)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment