toUpperAt
Converts the character at the specified index
in the input
string to uppercase.
input
( string
): The input string.target
( string | number
): The index of the character to convert to uppercase.string
): A new string with the character at the specified index uppercased.