automatically put letters in uppercase js code example Example: uppercase and lowercase letters in js str.toLowerCase() str.toUpperCase()