Chalkboard - v3.0.4
    Preparing search index...

    Function add

    • Calculates the addition of two arrays.

      Parameters

      • arr1: number[]

        The first array

      • arr2: number[]

        The second array

      Returns number[]

      const result = Chalkboard.stat.add([1, 1, 2, 3], [1, 2, 3, 5]); // Returns [2, 3, 5, 8]