8. Function Expressions


I’m having a problem passing this code and I’m not sure what the problem is. Any ideas?

function isGreaterThan = (numberOne, numberTwo) => {
if(numberOne > numberTwo)
{ return true;
} else {
return false;

isGreaterThan(4, 8)


This needs to be assigned to something, or logged out. As it is now the return value is going into a vacuum.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.