Tell us what’s happening:
I’ve stuck on this question for one day pleas an angel come to my rescue and show me where i’m going wrong
Your code so far
// Setup
var myArray = [["John", 23], ["dog", 3]];
myArray.shift();
// Only change code below this line.
myArray.unshift(["paul", 35])
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36
.
Challenge: Manipulate Arrays With unshift()
Link to the challenge: