返回一个字符串,该字符串中的所有字母都被转换为小写字母。
function toLowerCase() : String
toLowerCase 方法对非字母字符无效。
示例下面的示例说明了 toLowerCase 方法的效果:
var strVariable = "This is a STRING object"; strVariable = strVariable.toLowerCase();
最后一个语句后面的 strVariable 的值为:
this is a string object要求