diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json
index 34eed53341..3840b1b768 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -3996,9 +3996,9 @@
"title": "Returning Boolean Values from Functions",
"description": [
"You may recall from Comparison with the Equality Operator that all comparison operators return a boolean true
or false
value.",
- "A common anti-pattern is to use an if/else
statement to do a comparison and then return
true
/false
:",
+ "Sometimes people use an if/else statement to do a comparison, like this:",
"
function isEqual(a,b) {", - "Since
if (a === b) {
return true;
} else {
return false;
}
}
===
returns true
or false
, we can return the result of the comparison:",
+ "But there's a better way to do this. Since ===
returns true
or false
, we can return the result of the comparison:",
"function isEqual(a,b) {", "
return a === b;
}
isLess
to remove the if/else
statements."