Helpppp please i need help

Tell us what’s happening:

Your code so far


const squareList = (arr) => {
// Only change code below this line
return arr;
// Only change code above this line
};

const squaredIntegers = squareList([-3, 4.8, 5, 3, -3.2]);
console.log(squaredIntegers);

Your browser information:

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

Challenge: Use Higher-Order Functions map, filter, or reduce to Solve a Complex Problem

Link to the challenge:

Welcome to the forums! Before we can help, let us know what you have tried so far, are you able to write it in plain english, not code, to see if you understand what the problem expects?

From there we can go step by step figuring it out in actual code, once we get the pseudo code down, doing so will help a lot versus just jumping into the code itself.

thanks for replying , i got it

Great to hear :slight_smile:

1 Like