Answers for "does tolowercase change the string or create a new one javascript"

21

tolowercase javascript

var str = "Hello World!";
var res = str.toLowerCase();
Posted by: Guest on June-01-2020
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 "does tolowercase change the string or create a new one javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language