Last active
December 7, 2016 13:58
-
-
Save Hoxtygen/0280c501c4cea600d1e9fcb05e756dc4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function slasher(arr, howMany) { | |
// it doesn't always pay to be first | |
arr = arr.slice(howMany); | |
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