Skip to content

Instantly share code, notes, and snippets.

@jrjames83
Forked from anonymous/bonfire-slasher-flick#.js
Created December 6, 2015 05:04
Show Gist options
  • Save jrjames83/63eace53c3a458e2d328 to your computer and use it in GitHub Desktop.
Save jrjames83/63eace53c3a458e2d328 to your computer and use it in GitHub Desktop.
http://www.freecodecamp.com/fcc0208647c 's solution for Bonfire: Slasher Flick
// Bonfire: Slasher Flick
// Author: @fcc0208647c
// Challenge: http://www.freecodecamp.com/challenges/bonfire-slasher-flick#
// Learn to Code at Free Code Camp (www.freecodecamp.com)
function slasher(arr, howMany) {
return arr.slice(howMany, arr.length);
}
slasher([1, 2, 3], 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment