对于大多数语言,它返回与toLowerCase相同的输出。
string.toLocaleLowerCase( )
返回具有当前区域设置的小写字符串。
<html> <head> <title>JavaScript String toLocaleLowerCase() Method</title> </head> <body> <script type="text/javascript"> var str="Apples are round, and Apples are Juicy."; document.write(str.toLocaleLowerCase( )); </script> </body> </html>
运行上面代码输出
链接:https://www.learnfk.comhttps://www.learnfk.com/javascript/string-tolocalelowercase.html
来源:LearnFk无涯教程网
apples are round, and apples are juicy.
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)