commit
f1053a2f68
|
@ -643,7 +643,7 @@
|
|||
"var ourArray = [\"Stimpson\", \"J\", [\"cat\"]];",
|
||||
"ourArray.shift();",
|
||||
"ourArray.unshift([\"happy\", \"joy\"]);",
|
||||
"// ourArray now equals [[\"happy\", \"joy\"], \"Stimpson\", \"J\"]",
|
||||
"// ourArray now equals [[\"happy\", \"joy\"], \"J\", [\"cat\"]]",
|
||||
"",
|
||||
"var myArray = [\"John\", 23, [\"dog\", 3]];",
|
||||
"myArray.shift();",
|
||||
|
|
Loading…
Reference in New Issue