Hi, I am getting the correct ouputs logged to the console except with a single ’ quote instead of a double " quote. Am I doing something wrong or is this exercise solution set up wrong?
Tell us what’s happening:
Describe your issue in detail here.
Your code so far
// Setup
const myArray = [["John", 23], ["dog", 3]];
// Only change code below this line
const removedFromArray = myArray.shift();
console.log(myArray);
console.log(removedFromArray);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Challenge: Manipulate Arrays With shift()
Link to the challenge: