string.toUpcase() 转成大写
string.toLowercase() 转成小写
console.log('string'.toUpperCase()); console.log('STRING'.toLowerCase());
string.toUpcase() 转成大写
string.toLowercase() 转成小写
console.log('string'.toUpperCase()); console.log('STRING'.toLowerCase());