发布于 2023-10-10 14:59:05 浏览 148 次
String.fromCharCode(num1, num2, ...)
var code1 = 65;var code2 = 66;var code3 = 67;var str = String.fromCharCode(code1, code2, code3);console.log(str); // 输出 "ABC"