Skip to content

Instantly share code, notes, and snippets.

Avatar

Jared Vandeventer jvandy83

View GitHub Profile
@jvandy83
jvandy83 / gist:5aeb6545fc4e0c5c0da9bf84b02a4502
Created Mar 6, 2019
I'm perplexed...can someone clear this up for me???
View gist:5aeb6545fc4e0c5c0da9bf84b02a4502
// Write a function called "removeFromBackOfNew".
// Given an array, "removeFromBackOfNew" returns a new array containing all but the last element of the given array.
var arr = [1, 2, 3];
function removeFromBackOfNew(arr) {