function strikethroughView codestrikethrough(str: string): stringPut horizontal line through the center of the text. Parametersstr: stringView codetext to strike through Return TypestringView code