โ Back to Loops
Question 108
reduce: Product of an Array
reduce: Product of an Array
Use reduce to multiply all the numbers in the array together and print the product.
Expected output:
24Expected Output:
24
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.