We're a place where coders share, stay up-to-date and grow their careers.
const maxInArray = v => Array.isArray(v) ? v.reduce( (a,c)=>Math.max(a, maxInArray(c)) ) : v
Discussion on: What’s your alternative solution? Challenge #51