Manipulate Arrays ( unshift)

Manipulate Arrays ( unshift)
0

#1

Tell us what’s happening:
I did manipulate Arrays with unshift, But i am getting same output which is shown in compilation then still I am facing problem.
i have attached picture pls find.

Your code so far

// Example
var ourArray = ["Stimpson", "J", "cat"];
ourArray.shift(); // ourArray now equals ["J", "cat"]
ourArray.unshift("Happy"); 
// ourArray now equals ["Happy", "J", "cat"]

// Setup
var myArray = [["John", 23], ["dog", 3]];
myArray.shift();
myArray.unshift(["paul", 35]);

ice_screenshot_20170915-120027ice_screenshot_20170915-120027


#2

I can’t see the image, but I think the only problem is that you haven’t capitalized the first letter of the name of paul.


#3

S your correct, I have done.