JS中转换字母大小写

1 let [a,b] = ['ca','CA']
2 console.log(a.toUpperCase(),b.toLowerCase())
原文地址:https://www.cnblogs.com/lyt520/p/13452235.html