此方法返回转换为小写的调用字符串值。
toLowerCase() - 语法
string.toLowerCase( )
toLowerCase() - 返回值
返回转换为小写的调用字符串值。
toLowerCase() - 示例
var str="Apples are round, and Apples are Juicy."; console.log(str.toLowerCase( ))
运行上面代码输出
apples are round, and apples are juicy.
此方法返回转换为小写的调用字符串值。
string.toLowerCase( )
返回转换为小写的调用字符串值。
var str="Apples are round, and Apples are Juicy."; console.log(str.toLowerCase( ))
运行上面代码输出
apples are round, and apples are juicy.