npm.nicfv.com

    Function prod

    • Multiply all the inputs. If none are present, returns 1.

      Parameters

      • data: number[]

        An array of numeric inputs

      Returns number

      The product

      const y = SMath.prod([2, 2, 3, 5]); // 60
      
    MMNEPVFCICPMFPCPTTAAATR