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
// 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) { |