diff --git a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index 8e04a5359f..69fb1fedd0 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -686,7 +686,7 @@ }, { "id": "bd7993c9ca9feddfaeb7bdef", - "title": "Divide one Decimal by Another with JavaScript", + "title": "Divide One Decimal by Another with JavaScript", "description": [ "Now let's divide one decimal by another.", "
quotient
should equal 2.2
');",
"assert(/4\\.40*\\s*\\/\\s*2\\.*0*/.test(code), 'message: You should use the /
operator to divide 4.4 by 2');",
- "assert(code.match(/quotient/g).length === 3, 'message: The quotient variable should only be assigned once');"
+ "assert(code.match(/quotient/g).length === 1, 'message: The quotient variable should only be assigned once');"
],
"type": "waypoint",
"challengeType": 1,