Fixed two typos and fixed a no tests tun error
This commit is contained in:
@ -157,16 +157,19 @@
|
||||
"Try looking at the <code>firstLetterOfFirstName</code> variable declaration if you get stuck."
|
||||
],
|
||||
"tests": [
|
||||
"assert((function(){if(typeof(firstLetterOfLastName) != 'undefined' && typeof(firstLetterOfLastName) == 'string' && firstLetterOfLastName == 'C'){return(true);}else{return(false);}})(), 'The first letter of firstLetterOfLastName should be a C');"
|
||||
"assert((function(){if(typeof(firstLetterOfLastName) != 'undefined' && editor.getValue().match(/\\[0\\]/gi) && typeof(firstLetterOfLastName) == 'string' && firstLetterOfLastName == 'C'){return(true);}else{return(false);}})(), 'The first letter of firstLetterOfLastName should be a C');"
|
||||
],
|
||||
"challengeSeed": [
|
||||
"var firstLetterOfLastName = \"\"",
|
||||
"var firstLetterOfLastName = \"\"",
|
||||
"",
|
||||
"var firstName = \"Madeline\";",
|
||||
"",
|
||||
"var firstLetterOfFirstName = firstName[0];",
|
||||
"firstLetterOfFirstName = firstName[0];",
|
||||
"",
|
||||
"var lastName = \"Chen\";",
|
||||
"",
|
||||
"var firstLetterOfLastName = lastName;",
|
||||
"firstLetterOfLastName = lastName;",
|
||||
"",
|
||||
"",
|
||||
"// You can ignore this.",
|
||||
@ -565,7 +568,7 @@
|
||||
"difficulty": "9.9818",
|
||||
"description": [
|
||||
"",
|
||||
"Now that we've learn how to <code> pop </code> things from the end of the array, we need to learn how to <code> push </code> stuff back to the end",
|
||||
"Now that we've learned how to <code> pop </code> things from the end of the array, we need to learn how to <code> push </code> stuff back to the end",
|
||||
"Let's take the code we had last time and <code> push </code> this value to the end: <code> ['dog', 3] </code>"
|
||||
],
|
||||
"tests": [
|
||||
@ -797,7 +800,7 @@
|
||||
"description":[
|
||||
"",
|
||||
"Loops are a critical part of any program! The next few challenges",
|
||||
"first we will be taking a look at the for loop",
|
||||
"first we will be taking a look at the while loop",
|
||||
"<code>",
|
||||
"var ourArray = [];",
|
||||
"var i = 0;",
|
||||
|
Reference in New Issue
Block a user