Return a new string with the text all in lower case.
返回一个新的字符串,所有文本均小写。
Does not mutate the original string.
不变异原始字串。
Does not accept any parameter.
不接受任何参数。
Usage:
用法:
'Testing'.toLowerCase() //'testing'
Works similarly to toLocaleLowerCase()
, but does not consider locales at all.
与toLocaleLowerCase()
相似,但完全不考虑语言环境。