var str="A"
var c = str.charCodeAt()
console.log('A = ',str.charCodeAt());//65
var s = String.fromCharCode(0x41)//0x41=65,直接填65是一样的
console.log('s = ',s);//A
function Int32CodetoStr(x){
var str= ""
var t = x
var arr = []
var i = 0
while(t>0){
arr[i++] = t&0xff
t = t >>8
}
i--;
while(i>=0){
str = str + String.fromCharCode(arr[i--])
}
return str
}