@s-libs/micro-dash
    Preparing search index...

    Function sum

    • Computes the sum of the values in array.

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 217 bytes
      • Micro-dash: 66 bytes

      Parameters

      • array: number[]

      Returns number