function resetView codereset(str: string): stringReset the text modified. Parametersstr: stringView codetext to reset Return TypestringView code