# Learn Functional Programming by Building a Spreadsheet - Step 102

### Tell us what’s happening:

Finally, to handle potential edge cases, add an empty string property (you will need to use quotes) which is a function that takes a single argument and returns that argument.

With that, your spreadsheet project is now complete. You are welcome to experiment with adding support for even more functions.

### Your code so far

const spreadsheetFunctions = {

sum,
average,
median,
even: nums => nums.filter(isEven),
someeven: nums => nums.some(isEven),
everyeven: nums => nums.every(isEven),
firsttwo: nums => nums.slice(0, 2),
lasttwo: nums => nums.slice(-2),
has2: nums => nums.includes(2),
increment: nums => nums.map(num => num + 1),
random: ([x, y]) => Math.floor(Math.random() * y + x),
range: nums => range(…nums),
nodupes: nums => […new Set(nums).values()],
‘’ :(‘’) = (‘’),
}

i’m not able to understand what i’m missing. I tried everything that came to my mind but I couldn’t help.
please someone can try to explain to me?
WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

``````Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.
``````

### Your browser information:

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36`

### Challenge Information:

Learn Functional Programming by Building a Spreadsheet - Step 102

It is looking for a single argument not an empty argument

2 Likes

you’ve just saved my life and my mental health! thank you!!

2 Likes

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