hwo to turn a char to lower case javascript code example Example: how to convert whole strig in lowercase in js var str = "Hello World!"; var res = str.toLowerCase();