Updated basic-javascript.json file for challenge Manipulate arrays with shift; issue: #17235
This commit is contained in:
@ -2735,7 +2735,7 @@
|
|||||||
"contents": [
|
"contents": [
|
||||||
"// Example",
|
"// Example",
|
||||||
"var ourArray = [\"Stimpson\", \"J\", [\"cat\"]];",
|
"var ourArray = [\"Stimpson\", \"J\", [\"cat\"]];",
|
||||||
"removedFromOurArray = ourArray.shift();",
|
"var removedFromOurArray = ourArray.shift();",
|
||||||
"// removedFromOurArray now equals \"Stimpson\" and ourArray now equals [\"J\", [\"cat\"]].",
|
"// removedFromOurArray now equals \"Stimpson\" and ourArray now equals [\"J\", [\"cat\"]].",
|
||||||
"",
|
"",
|
||||||
"// Setup",
|
"// Setup",
|
||||||
@ -7901,4 +7901,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user