Answers for "which method is use to lowercase all string in javascript"

120

javascript lowercase string

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

how to use .tolowercase

.toLowerCase is a command you can you to make pieces of string 
into lowercase when printed with console.log
Ex. 
// This is the variable we will be using
let Greeting = 'Hi!';
//Then, we reassign the variable to use the command
Greeting = .toLowercCase
// Print = hi!

Happy Codings!
Posted by: Guest on February-07-2022

Code answers related to "which method is use to lowercase all string in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language