fromCharCode

概要Description

签名

String.fromCharCode(...nums?: number[]): string

功能

接受指定的 Unicode 值,返回字符串

没有参数时,返回空字符串

广告

案例Examples

正常情况

1 =
result = String.fromCharCode(97, 98, 99);'abc'

Unicode 参数

不写

那就是 空字符串

1 =
result = String.fromCharCode();''
广告

ZZAX 微信公众

文档一更新,立刻告诉你