Basic JavaScript: Manipulate Arrays With shift()

// Setup

var myArray = [["John", 23], ["dog", 3]];

// Only change code below this line.

var removedFromMyArray=myArray.shift();

Leave a Reply

Your email address will not be published. Required fields are marked *