Jaybamaniya first of all, make sure to add a task description and the submission results in your posts. Otherwise, it's hard to guess your question.
I think the problem is with the string you're printing to the console
else if(x>y) {
return `${x} is greater than or equal to ${y}`;
}
The if
condition says x > y
, but the output says is greater than or equal to
, which doesn't make sense.
Try updating the string you're logging to the console.