dev-serum
Search...
Ctrl
K
Data Structures & Algorithms
Coding Challenges
Codewars
8Kyu
Beginner - Reduce but Grow
Previous
Vowel remover
Next
To square(root) or not to square(root)
Last updated
4 years ago
Was this helpful?
Approach
Solution
JavaScript
Copy
const grow = (x) => x.reduce((acc, cur) => acc * cur);