js大小写的转换 toLowerCase toUpperCase
作者:互联网
字符串大写转小写
let str = "What is 爱马仕? That is not doing. 就问你这个英语溜不溜。……&*%*"
console.log(str.toLowerCase())
字符串小写转大写
let str = "What is 爱马仕? That is not doing. 就问你这个英语溜不溜。……&*%*"
console.log(str.toUpperCase())
标签:What,toLowerCase,doing,爱马仕,toUpperCase,js,str 来源: https://blog.csdn.net/pyp_demon/article/details/113527998