Skip to content

Instantly share code, notes, and snippets.

@kbk0125
Created April 2, 2018 03:37
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 kbk0125/12969d16de81b9821759a17d1d405fcb to your computer and use it in GitHub Desktop.
Save kbk0125/12969d16de81b9821759a17d1d405fcb to your computer and use it in GitHub Desktop.
let cookout = {
mealOrders: ["chicken", "burger", "burger", "steak", "chicken"],
grill: function() {
let args = Array.prototype.slice.call (arguments);
console.log("I am going to cook :" + args.join(","));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment