Tell us what’s happening:
Describe your issue in detail here.
The code is fine, I think it’s just the tests that are failing b/c the array string uses single quotes instead of double quotes.
Your code so far
// Setup
const myArray = [['John', 23], ['dog', 3]];
// Only change code below this line
console.log(myArray);
let removedFromArray = myArray.shift();
//Lesson fails b/c of single quotes?? lame!
console.log(myArray);
console.log(removedFromArray);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Manipulate Arrays With shift Method
Link to the challenge: