一、String 实例方法(或非静态方法)
const str = “Hello World”;
toLowerCase();将英文大写字母转换成小些字母。比如: const newStr = str.toLowerCase(); ==> “hello world”;
二、String 的静态方法
String.fromCharCode(Unicode编码);将Uniccode编码转化为字符串。比如:const code = String.fromCharCode(65); ==> “A”.