Merge pull request #17239 from rajatkantinandi/fix/manipulate_array_with_shift

Updated basic-javascript.json file for challenge Manipulate arrays with shift
pull/17234/head
Stuart Taylor 2018-05-27 09:10:35 +01:00 committed by GitHub
commit 9bd2052b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2735,7 +2735,7 @@
"contents": [
"// Example",
"var ourArray = [\"Stimpson\", \"J\", [\"cat\"]];",
"removedFromOurArray = ourArray.shift();",
"var removedFromOurArray = ourArray.shift();",
"// removedFromOurArray now equals \"Stimpson\" and ourArray now equals [\"J\", [\"cat\"]].",
"",
"// Setup",