javascript 中ASCII字符值转换 char-->ascii var a = "123"; a.charAt(1).charCodeAt();ascii-->char String.fromCharCode(10);