Hi,
I cannot pass the tests on "Use de conditional (ternary) operator. The code looks OK. Tests with console.log are OK.
My code:
function checkEqual(a, b) {
return a === b ? “Equal” : “Not equal”;
}
console.log(checkEqual(1, 1));
The challenge: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/use-the-conditional-ternary-operator
NB: it is the second challenge in my curriculum not passing the tests.