diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json
index 7e33e57474..ce7ec4949e 100644
--- a/seed/challenges/basic-javascript.json
+++ b/seed/challenges/basic-javascript.json
@@ -398,7 +398,8 @@
"Replace the 0.0
with the correct number so that you get the result mentioned in the comments."
],
"tests": [
- "assert((function(){if(product === 5.0 && editor.getValue().match(/\\*/g)){return(true);}else{return(false);}})(), 'Make the variable product
equal 5.0.');"
+ "assert((function(){if(product === 5.0 && editor.getValue().match(/\\*/g)){return(true);}else{return(false);}})(), 'Make the variable product
equal 5.0.');",
+ "assert((function(){if(quotient === 2.2 && editor.getValue().match(/\\//g)){return(true);}else{return(false);}})(), 'Make the variable quotient
equal 2.2.');"
],
"challengeSeed": [
"var quotient = 4.4 / 2.0; // equals 2.2",
@@ -553,9 +554,9 @@
"//console.log(removed); // logs 3",
"",
"var myArray = [\"John\", 23, [\"cat\", 2]];",
- "var removed = myArray; // This should be [\"cat\", 2] and myArray should now be [\"John\", 23]",
"// Only change code below this line.",
"",
+ "var removed = myArray; // This should be [\"cat\", 2] and myArray should now be [\"John\", 23]",
"",
"// Only change code above this line.",
"// We use this function to show you the value of your variable in your output box.",
@@ -902,7 +903,7 @@
],
"challengeSeed":[
"function myFunction(){",
- " // Make myFunction return a random number between min
and max
instead of a decimal",
+ " // Make myFunction return a random number betweenzero and nine> instead of a decimal",
"",
" // Only change code below this line.",
"",
@@ -1092,7 +1093,7 @@
],
"tests":[
"assert(test === 36, 'Your RegEx should have found seven spaces in the testString
.');",
- "assert(editor.getValue().match(/\\/\\\\S\\/gi/gi), 'You should be using the following expression /\\\\S/gi
to find the spaces in the testString
.');"
+ "assert(editor.getValue().match(/\\/\\\\S\\/gi/gi), 'You should be using the following expression /\\+S/gi
to find the spaces in the testString
.');"
],
"challengeSeed":[
"var test = (function(){",