发信人: wuga(冰雨梦)
整理人: wuga(2001-12-02 10:09:06), 站内信件
|
描述
从一些 Unicode 字符值中回一个字符串。
语法
String.fromCharCode(code1, code2, ..., coden)
code 参数是要转换为字符串的 Unicode 字符值序列。
说明
在调用 fromCharCode 前不必创建 String 对象。
在下面的例子中,test 包含字符串 "plain":
var test = String.fromCharCode(112, 108, 97, 105, 110);
|
|