Last active
July 26, 2017 14:48
-
-
Save bytao7mao/68115979636f8ee594bee637460a1220 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) { | |
// Return string after the amount chopped off. | |
return arr.slice(howMany); | |
} | |
slasher([1, 2, 3], 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment