Returns the sum of a list of numbers optionally pre-transforming each number for Node.js and the browser.