fix typo and move to tail

This commit is contained in:
Faizaan
2015-11-13 22:41:16 +05:30
parent fc615ad3dd
commit cc54bf19e0

View File

@ -387,7 +387,7 @@
"description": [ "description": [
"You can use the <code>reverse</code> method to reverse the elements of an array.", "You can use the <code>reverse</code> method to reverse the elements of an array.",
"<code>reverse</code> is another array method that alters the array in place, but it also returns the reversed array.", "<code>reverse</code> is another array method that alters the array in place, but it also returns the reversed array.",
"Use <code>reverse</code> to reverse the <code>array</code> variable and assign it to <code>myArray</code>." "Use <code>reverse</code> to reverse the <code>array</code> variable and assign it to <code>newArray</code>."
], ],
"tests": [ "tests": [
"assert.deepEqual(newArray, [7,6,5,4,3,2,1], 'message: You should reverse the array.');", "assert.deepEqual(newArray, [7,6,5,4,3,2,1], 'message: You should reverse the array.');",
@ -402,7 +402,9 @@
"var newArray = array;", "var newArray = array;",
"", "",
"// Only change code above this line.", "// Only change code above this line.",
"", ""
],
"tail":[
"(function() {return newArray;})();" "(function() {return newArray;})();"
], ],
"challengeType": 1, "challengeType": 1,