diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json
index 687502ab31..555d69d090 100644
--- a/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/challenges/01-front-end-development-certification/basic-javascript.json
@@ -2154,7 +2154,7 @@
"The most basic operator is the equality operator ==
. The equality operator compares two values and returns true
if they're equivalent or false
if they are not. Note that equality is different from assignment (=
), which assigns the value at the right of the operator to a variable in the left.",
"
function equalityTest(myVal) {", "If
if (myVal == 10) {
return \"Equal\";
}
return \"Not Equal\";
}
myVal
is equal to 10
, the equality operator returns true
, so the code in the curly braces will execute, and the function will return \"Equal\"
. Otherwise, the function will return \"Not Equal\"
.",
- "In order for the JavaScript to compare two different data types
(for example, numbers
and strings
), it must convert one type to another. Once it does, however, it can compare terms as follows:",
+ "In order for JavaScript to compare two different data types
(for example, numbers
and strings
), it must convert one type to another. Once it does, however, it can compare terms as follows:",
"1 == 1 // true", "
1 == 2 // false
1 == '1' // true
\"3\" == 3 // true
equality operator
to the indicated line so that the function will return \"Equal\" when val
is equivalent to 12
"