Hi there.
At this task you have to use arrow functions which have next look : (argument) => { do some here } .
Use map or reduce or filter function to go throught the array and do math with arguments.
You have to math the square of each positive digit in the array.
Lets try to write kinda pseudo-code.
How you do it in real life? You take an array ( [1, -3, 10] for instance) and look at first argument. Is it positive? yes. Then you return 1 * 1. Next step: second argument of the array = -3. Is it positive? No, skip it. And move on to the last index of the array.
Don’t forget that in JavaScript you can assign any instance to a varible. For example:
let digit = 3;
let string = ‘hi there’;
let firstFunction = function() {}; // do the same as secondFunction
let secondFunction = () => {}; // do the same as firstFunction
You always can read this article to understand this question deeper: MDN: Arrow Functions.