Back to Arrays
prod
Product of all elements.
Syntax
prod(arr) → Total product
Backends
TypeScript
Description
Product of all elements.
Parameters
| Name | Description |
|---|---|
| arr | Input array |
Returns
Total product