Given a string containing both Uppercase and Lowercase characters , you need to change the Uppercase into Lowercase and Lowercase into Uppercase. in javascript code example
Example: uppercase and lowercase letters in js
str.toLowerCase()
str.toUpperCase()