ES6 toLowerCase()
此方法返回转换为小写的调用字符串值。
语法
string.toLowerCase( )
返回值
返回转换为小写的调用字符串值。
例
var str = "Apples are round, and Apples are Juicy.";
console.log(str.toLowerCase( ))
输出
apples are round, and apples are juicy.
此方法返回表示指定对象的字符串。语法string.toString()返回值返回表示指定对象的字符串。例var str = "Apples are round, and Apples are Juicy.";c ...