Answers for "js tolowercase directly to string"

89

javascript lowercase string

var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"
Posted by: Guest on July-16-2019
1

String.toLower() js

const str = "Hello world!";
console.log(str); //Output: "Hello world!"
const String = str.toLowerCase();
console.log(String) //Output: "hello world!"
Posted by: Guest on April-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language