String.prototype.toLocaleUpperCasebeginner'hello'.toLocaleUpperCase() // β 'HELLO'
'world'.toLocaleUpperCase() // β 'WORLD'
'abc123'.toLocaleUpperCase() // β 'ABC123'Use toLocaleUpperCase() to convert a string to uppercase using the locale-specific rules of the host environment.
Digits and symbols are not affected by toLocaleUpperCase().
Challenge: Implement upperLettersOnly(str) that uppercases a string with mixed letters and numbers.
upperLettersOnly('abc123') // β 'ABC123'