Function addSuffix

  • add suffix to string

    Parameters

    • str: string = ""

      to be processed string

    • suffix: string = ""

      prefix string

    Returns string

    5.14.0

    [[addPrefix]]

    addSuffix("123456", "456")
    // => '123456'
    addSuffix("123", "123")
    // => '123456'