Tell us what’s happening:
Hey guys & gals sorry to bother y’all, maybe I am just missing something silly here. I am getting
checkEqual(1,2) - false
checkEqual(3,1) - true
checkEqual(1, -1) - true < --------- error
Blockquote
Your code so far
function checkEqual(a, b) {
return a >= b ? true : false;
}
checkEqual(1, 2);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
.
Link to the challenge: