Math.product
Math.product($listOfNumbers) -> number
Description
Calculates the product (multiplication) of all values.
Returns 1
if the list is empty.
Math.product([2, 2]) //= 4 Math.product([-10, 10, 0.5]) //= -50
Calculates the product (multiplication) of all values.
Returns 1
if the list is empty.
Math.product([2, 2]) //= 4 Math.product([-10, 10, 0.5]) //= -50