在JS中把ascll码转换为chr 用什么函数

JavaScript010

在JS中把ascll码转换为chr 用什么函数,第1张

有charCodeAt、fromCharCode:

alert("a".charCodeAt(0))

alert(String.fromCharCode(65))

Christmas_

Christmas英 [ˈkrɪsməs] 美 [ˈkrɪsməs]

n.圣诞节

[例句]My mood this year is for a cosy, nice and thoroughly wholesome

Christmas.

我今年想过一个温馨、愉快并且绝对健康的圣诞节。

-------------------------------如有疑问,可继续追问,如果满意,请采纳,谢谢。