彪壮面包

文章
6
资源
0
加入时间
4年0月25天

ES6 新知识点 1.0

一、String.fromCodePoint()【 Unicode 码点返回对应字符】ES5 提供String.fromCharCode()方法,用于从 Unicode 码点返回对应字符,但是这个方法不能识别码点大于0xFFFF的字符。 String.fromCharCode(0x20BB7) // "ஷ"上面代码中,String.fromCharCode()不能识别大于0x...