Tell us what’s happening:
Can somebody tell me what I have done wrong?
Your code so far
function checkEqual(a, b) {
return a === b ? "Equal" : "Not Equal"
}
checkEqual(1, 2);
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 9; LM-X420) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Mobile Safari/537.36
.
Challenge: Use the Conditional (Ternary) Operator
Link to the challenge: