js change string to all caps code example Example: uppercase and lowercase letters in js str.toLowerCase() str.toUpperCase()