JavaScript
JavaScript String Type
Capitalization
Sometimes it's useful to convert a string to entirely lower or upper
case characters. The toLowerCase and toUpperCase methods can do
this for us.
const title = "Red Seas Under Red Skies"console.log(title.toLowerCase()) // red seas under red skiesconsole.log(title.toUpperCase()) // RED SEAS UNDER RED SKIES
Read more on MDN
String.prototype.toLowerCase()
Read more on MDN
String.prototype.toUpperCase()