Why is this code not wokring?!

Tell us what’s happening:
Describe your issue in detail here.
Its so ridiculous that I have the exact code needed to pass yet the test running tool does not work???

Your code so far
var removedFromOurArray = myArray.shift();

// Setup
const myArray = [['John', 23], ["dog", 3]];

// Only change code below this line
var removedFromOurArray = myArray.shift();


Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Manipulate Arrays With shift()

Link to the challenge:

Hi @ElongatedMango !
Welcome to the forum!

You have the wrong variable name here

Reread the direction for the correct name
assign the “shifted off” value to a new variable, removedFromMyArray.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.