要将字符串转换为JavaScript中的小写字母,请使用toLocaleLowerCase()方法。
toLocaleLowerCase()
您可以尝试运行以下代码以了解如何使用toLocaleLowerCase()JavaScript中的方法-
<!DOCTYPE html> <html> <body> <script> var a = "WELCOME!"; document.write(a.toLocaleLowerCase()); </script> </body> </html>
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分