Skip to content

Instantly share code, notes, and snippets.

@ericcgu
Created September 8, 2015 21:27
Show Gist options
  • Save ericcgu/7758d1b876ace69d26cb to your computer and use it in GitHub Desktop.
Save ericcgu/7758d1b876ace69d26cb to your computer and use it in GitHub Desktop.
Slasher Flick
function slasher(arr, howMany) {
// it doesn't always pay to be first
return arr;
}
slasher([1, 2, 3], 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment