js怎样获取字符ASCII码?比如字母a的ascll码就是97,在JS里,和Unicode编码是一样的值。比如:function show(){var str = prompt("请输入几个字符","")接收字符串var s2023-04-15JavaScript310