Merge pull request #17239 from rajatkantinandi/fix/manipulate_array_with_shift
Updated basic-javascript.json file for challenge Manipulate arrays with shiftpull/17234/head
commit
9bd2052b36
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue