Learn-functional-programming-by-building-a-spreadsheet/step-98

this is my codes: const spreadsheetFunctions = {
sum,
average,
median,
even: nums => nums.filter(isEven),
firsttwo: nums => nums.slice(0, 2),
lasttwo: nums => nums.slice(-2),
has2: nums => nums.includes(2),
increment: nums.map(num => num + 1),
someeven: nums=> nums.some(isEven)
};

this is the error message they are giving me: Sorry, your code does not pass. Don’t give up.

Your spreadsheetFunctions object should have a someeven property.

help please

Hi @Jdamour1

You modified the increment function.
Your someeven function is correct.

Please restore the original code and try again.

Happy coding

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