教程 > javascript 教程 > 阅读:12

javascript string tolowercase 方法——迹忆客-ag捕鱼王app官网

返回 javascript string 对象


定义

tolowercase() 方法用于把字符串转换为小写。

语法

语法如下:

string.tolowercase( )

返回值

返回转换为小写的字符串值。

浏览器支持

所有主流浏览器都支持 tolowercase 方法。

示例


   
      javascript string tolowercase() method
   
   
      
            
   

输出结果:

apples are round, and apples are juicy.

返回 javascript string 对象

查看笔记

扫码一下
查看教程更方便
网站地图