function boldView codebold(str: string): stringMake the text bold. Parametersstr: stringView codetext to make bold Return TypestringView code