Basic JavaScript - Manipulate Arrays With unshift()

Tell us what’s happening:
Describe your issue in detail here.

not sure what i’m doing wrong here have a feeling its something silly i’m missing
Your code so far

// Setup
const 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 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Manipulate Arrays With unshift()

Link to the challenge:

That should be a Capital P “Paul”

1 Like

thanks very much!!! for all your help.

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