I’m unsure how the code sends an 8 to the results array without sending the code as expected to the new array. Also, why is the console not throwing an error of undefined ‘number’?
I can figure out what is wrong with the code but not how the code is still executing.