Hi,
I tried to work this exercise and follow all the procedures but I can get to the result. Below is my code;
const myArray = [["John", 23], ["dog", 3]];
myArray.shift();
myArray.ushift(["Paul" , 35]);
Then I got:
TypeError: myArray.ushift is not a function
Is anyone can help why it didn’t work?
Thanks.