📜  7.3.2. .toLowerCase() - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:26.360000             🧑  作者: Mango

代码示例1
/*The toLowerCase() string method returns the value of its string in 
all lowercase letters. Since it is a method, we must precede it with a 
specific string in order to use it.*/

let nonprofit = "LaunchCode";

console.log(nonprofit.toLowerCase());
console.log(nonprofit);

//launchcode
//LaunchCode