1、数据类型转换: 数字转字符 toString() 字符转数字 parseInt(),Number(),Math.round() 2、进制转换: 十进制是数字;二、八、十六进制是字符。 所以,相当于是数字与字符之间的转换。