// Setup
function testStrict(val) {
if (val === 7) {
// Change this line
return "Equal";
}else{
return "Not equal";
}
}
testStrict(10);
testStrict(7);
testStrict("7")
I provided this code and when I put a console log on testStrict(10); it also given the correct output, but course says ```
testStrict(10) should return the string Not Equal
but my console.log(testStrict(“7”)); prints Not equal.
this not allow me to go forward. please help me
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.