Seeking Built-in JavaScript Equivalent to Lodash's `sum` Method
Hi there! I there a built-in equivalent of the
For now, the simplest way of doing it was with
sum method of lodash?For now, the simplest way of doing it was with
const sum = Array.reduce(0, Number.sum) but I wonder if there's something even simpler already existing.