diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json
index 98e2b1e00f0..6a466cd8d32 100644
--- a/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/challenges/01-front-end-development-certification/basic-javascript.json
@@ -3361,8 +3361,8 @@
"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:",
- "
function isEqual(a,b) {", - "Since
if(a === b) {
return true;
} else {
return false;
}
}
=== returns true or false, we can simply return the result of the comparion:",
+ "function isEqual(a,b) {", + "Since
if(a === b) {
return true;
} else {
return false;
}
}
=== returns true or false, we can simply return the result of the comparison:",
"function isEqual(a,b) {", "
return a === b;
}
isLess to remove the if/else statements."