Posts by Junior Jarismar • 33 points
1 post
-
2
votes1
answer64
viewsQ: Calculate 2 different array element totals according to the value of another property
My goal is to separate the sum of only women’s wages into one filter + reduce and the sum of men’s wages in another using also filter + reduce. The console.log(salarioMulher) in the last row is…