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."
|
"Try looking at the <code>firstLetterOfFirstName</code> variable declaration if you get stuck."
|
||||||
],
|
],
|
||||||
"tests": [
|
"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": [
|
"challengeSeed": [
|
||||||
|
"var firstLetterOfLastName = \"\"",
|
||||||
|
"var firstLetterOfLastName = \"\"",
|
||||||
|
"",
|
||||||
"var firstName = \"Madeline\";",
|
"var firstName = \"Madeline\";",
|
||||||
"",
|
"",
|
||||||
"var firstLetterOfFirstName = firstName[0];",
|
"firstLetterOfFirstName = firstName[0];",
|
||||||
"",
|
"",
|
||||||
"var lastName = \"Chen\";",
|
"var lastName = \"Chen\";",
|
||||||
"",
|
"",
|
||||||
"var firstLetterOfLastName = lastName;",
|
"firstLetterOfLastName = lastName;",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"// You can ignore this.",
|
"// You can ignore this.",
|
||||||
@ -565,7 +568,7 @@
|
|||||||
"difficulty": "9.9818",
|
"difficulty": "9.9818",
|
||||||
"description": [
|
"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>"
|
"Let's take the code we had last time and <code> push </code> this value to the end: <code> ['dog', 3] </code>"
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
@ -797,7 +800,7 @@
|
|||||||
"description":[
|
"description":[
|
||||||
"",
|
"",
|
||||||
"Loops are a critical part of any program! The next few challenges",
|
"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>",
|
"<code>",
|
||||||
"var ourArray = [];",
|
"var ourArray = [];",
|
||||||
"var i = 0;",
|
"var i = 0;",
|
||||||
|
Reference in New Issue
Block a user