Skip to content
← Back to Community
help
Profile icon
PolinaTafintsov

This is what I am supposed to do:
Modify function multiplyAll so that it multiplies the product variable by each number in the sub-arrays of arr.
why isn't it working?

Voters
Profile icon
BanajBudhiraja
Profile icon
JustHuangHere
Profile icon
Geocube101
Comments
hotnewtop
Profile icon
Geocube101

I changed it so that it takes 'product' and multiplies it by every number in the array. It then pushes that to an array and returns the array.
[Repl was deleted: I am deleting ask repls after 1 month]