javscript to lowercase code example Example: javascript lowercase string var str = "My Big Boy!" var res = str.toLowerCase(); //res is "my big boy!"