微信扫一扫
const num = 10;num.toString(2);// 输出: "1010"num.toString(16);// 输出: "a"num.toString(8);// 输出: "12"
相关推荐