My code is not working. I checked the solution, and my code seems pretty similar. I am not sure If I have made a mistake, or if there is a bug that is preventing my code from working?
function isGreaterThan(numberOne, numberTwo) => {
if(numberOne > numberTwo){
return true;
} else {
return false;
}
}
isGreaterThan(4, 8)
Refactor the function declaration to be a function expression using arrow function syntax.
Be sure to call the function at the end.