hi,
so i have basically everything in the code, but it keeps telling me my message is not correct thou. What am I doing wrong? Did I miss something?
export const lte = (x, y) => {
if (x<y) {
return ${x} is less than or equal to ${y}
;
} else {
return ${x} is NOT less than or equal to ${y}
;
}
}
Details
lte should be exported from the 'helper.js' file (CORRECT)
lte should be a 'function'(CORRECT)
lte should return the appropriate message if x is less than or equal to y (WRONG)
lte should return the appropriate message if x is greater than y (CORRECT)
lte should contain a single if statement (CORRECT)
but i think i have the appropriate message.