Const
Calculates the product of all numbers in an iterable. Multiplies all elements together, starting with 1.
The product of all elements in the iterable
G.pipe( G.range(1, 5), G.product) // 120 (1*2*3*4*5) Copy
G.pipe( G.range(1, 5), G.product) // 120 (1*2*3*4*5)
Calculates the product of all numbers in an iterable. Multiplies all elements together, starting with 1.