NewDash

    Function add

    • Adds two numbers.

      Type Parameters

      • T

      Parameters

      • augend: T

        The first number in an addition.

      • addend: T

        The second number in an addition.

      Returns T

      Returns the total.

      5.3.0

      add(6, 4)
      // => 10
      add('6', '4')
      // => '64'
    MMNEPVFCICPMFPCPTTAAATR