Spaced out code a bit more on the shift challenge

pull/1925/head
benmcmahon100 2015-08-17 21:12:19 +01:00
parent 0bbb5cf122
commit 7c360285aa
1 changed files with 1 additions and 0 deletions

View File

@ -620,6 +620,7 @@
"var myRemoved = myArray; // This should be [\"John\"] and myArray should now be [23, [\"dog\", 3]]", "var myRemoved = myArray; // This should be [\"John\"] and myArray should now be [23, [\"dog\", 3]]",
"", "",
"// Only change code above this line.", "// Only change code above this line.",
"",
"// We use this function to show you the value of your variable in your output box.", "// We use this function to show you the value of your variable in your output box.",
"// You'll learn about functions soon.", "// You'll learn about functions soon.",
"(function(y, z){return('myArray = ' + JSON.stringify(y) + ' & myRemoved = ' + JSON.stringify(z));})(myArray, myRemoved);" "(function(y, z){return('myArray = ' + JSON.stringify(y) + ' & myRemoved = ' + JSON.stringify(z));})(myArray, myRemoved);"