Function clearAttr

  • Remove all attributes of HTML tags

    Parameters

    • string: string

      pass in the string

    Returns string

    newString

    1.0.1