|
fromCharCode 方法从一些 Unicode 字符值中返回一个字符串。
参数String 必选项。为 String 对象。 code1, . . . , codeN 可选项。是要转换为字符串的 Unicode 字符值序列。如果没有给出参数,结果为空字符串。 说明在调用 fromCharCode 前不必创建 String 对象。 在下面的例子中,test 包含字符串 "plain":
要求请参阅charCodeAt 方法 | String 对象的方法 应用于: String 对象 |