From c6c30fba54a13841828dd1c1923e5663509c2af1 Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 9 Jun 2017 21:37:52 -1000 Subject: [PATCH 1/3] remove bonner --- exercise.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercise.js b/exercise.js index 99ad35a..713ae7e 100644 --- a/exercise.js +++ b/exercise.js @@ -14,6 +14,8 @@ var hof = ["Jordan", "Bird", "Kobe", "Duncan", "Iverson", "Bonner"]; +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*/ From a2a08d1950019154688df5a6b477bb9ca98fadfb Mon Sep 17 00:00:00 2001 From: madycakes Date: Fri, 5 Jan 2018 20:11:03 -1000 Subject: [PATCH 2/3] complete ex1 --- exercise.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/exercise.js b/exercise.js index 713ae7e..38fd215 100644 --- a/exercise.js +++ b/exercise.js @@ -13,9 +13,12 @@ /*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); + +// 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*/ From bd9237047ef29b87386f1db3c1ee36c7820c013c Mon Sep 17 00:00:00 2001 From: madycakes Date: Fri, 5 Jan 2018 20:49:49 -1000 Subject: [PATCH 3/3] add console --- exercise.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercise.js b/exercise.js index 38fd215..69a32fd 100644 --- a/exercise.js +++ b/exercise.js @@ -16,6 +16,8 @@ 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);