I noticed the test condition checks for negative values, but the initial array isn’t actually seeded with negative integers, which is instantly fixed by adding “-1” to the front of the array. Code currently passes that would fail given this addition.

Proposing:

const realNumberArray = [-1, 4, 5.6, -9.8, 3.14, 42, 6, 8.34];

instead of:

const realNumberArray = [4, 5.6, -9.8, 3.14, 42, 6, 8.34];

“Use arrow function syntax to compute the square of only the positive integers (fractions are not integers) in the array realNumberArray and store the new array in the variable squaredIntegers.”

**Link to the challenge:**

https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/write-higher-order-arrow-functions/