diff --git a/exercise.js b/exercise.js index 99ad35a..69a32fd 100644 --- a/exercise.js +++ b/exercise.js @@ -13,8 +13,15 @@ /*1. Mr. Bonner (aka the Red Rocket, the Red Mamba) doesn't belong in this class of Hall Of Famers. Remove this imposter immediately and assign it to a new variable named `notHof` Console.log this new variable as well as the original list.*/ var hof = ["Jordan", "Bird", "Kobe", "Duncan", "Iverson", "Bonner"]; +var notHof = hof.pop(); +console.log(notHof); +console.log(hof); +console.log("test"); +// var notHof = hof.pop(); +// console.log(notHof); + /* The array.push() adds one or more element to the end of an array and returns the new length of the array*/