diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 3f92055c6e..4932ddd044 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -573,12 +573,12 @@ "difficulty": "9.9817", "description": [ "Another common way in which we can manipulate the data in an array is through .shift() ", - ".shift()is used to \"shift\" a value from the start of an array. We can retrieve this value by preforming the shift in a variable declaration.", + ".shift()is used to \"shift\" a value from the start of an array. We can retrieve this value by performing the shift in a variable declaration.", "Let's try .shift()now" ], "tests": [ "assert((function(d){if(d[0] == 23 && d[1][0] == 'dog' && d[1][1] == 3 && d[2] == undefined){return(true);}else{return(false);}})(myArray), 'myArray should only have the first two values left([\"John\", 23])');", - "assert((function(d){if(d === 'John' && typeof(removed) === 'function'){return(true);}else{return(false);}})(removed), 'Removed should contain \"John\"');" + "assert((function(d){if(d === 'John' && typeof(removed) === 'string'){return(true);}else{return(false);}})(removed), 'Removed should contain \"John\"');" ], "challengeSeed": [ "var myArray = ['John', 23, ['dog', 3]];",