js string to lowecase code example Example: tolowercase javascript var str = "Hello World!"; var res = str.toLowerCase();