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 98e2b1e00f..6a466cd8d3 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/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) {
if(a === b) {
return true;
} else {
return false;
}
}
", - "Since === returns true or false, we can simply return the result of the comparion:", + "
function isEqual(a,b) {
if(a === b) {
return true;
} else {
return false;
}
}
", + "Since === returns true or false, we can simply return the result of the comparison:", "
function isEqual(a,b) {
return a === b;
}
", "

Instructions

", "Fix the function isLess to remove the if/else statements."