从一些 unicode 字符值中返回一个字符串。
string.fromcharcode([code1[, code2[, …[, coden]]]])
参数
string
必选项。为 string 对象。
code1, . . . , coden
可选项。是要转换为字符串的 unicode 字符值序列。如果没有给出参数,结果为空字符串。
说明
在调用 fromcharcode 前不必创建 string 对象。
在下面的例子中,test 包含字符串 "plain":
var test = string.fromcharcode(112, 108, 97, 105, 110);
要求
版本 3
