JSFiddle - React, Tailwind, and code Playground
JavaScript
const collection = [1, 2, 3, [4, 5, 5, [6, 7, 9]]]
function sum(arr) {
}
console.log(sum(collection))
const collection = [1, 2, 3, [4, 5, 5, [6, 7, 9]]]
function sum(arr) {
}
console.log(sum(collection))