Fix a syntax(ish) error

This commit is contained in:
benmcmahon100 2015-08-21 22:37:34 +01:00
parent 93b5961a12
commit 1f0b5d9e60

View File

@ -634,7 +634,7 @@
"difficulty": "9.9818",
"description": [
"Now that we've learned how to <code>shift</code>things from the start of the array, we need to learn how to <code>unshift</code>stuff back to the start",
"Let's take the code we had last time and <code>unshift</code>this value to the end: <code>\"Paul\" </code>"
"Let's take the code we had last time and <code>unshift</code>this value to the start: <code>\"Paul\" </code>"
],
"tests": [
"assert((function(d){if(d[0].toLowerCase() == 'paul' && d[1] == 23 && d[2][0] != undefined && d[2][0] == 'dog' && d[2][1] != undefined && d[2][1] == 3){return(true);}else{return(false);}})(myArray), 'myArray should now have [\"Paul\", 23, [\"dog\", 3]])');"