📅  最后修改于: 2022-03-11 15:02:09.480000             🧑  作者: Mango
var string = "A string";
var upperCase = string.toUpperCase();
console.log(upperCase); // -> A STRING
var lowerCase = string.toLowerCase();
console.log(lowerCase); // -> a string