//String to Intlet num = '10'//第一种let numInt = parseInt(num)console.log(numInt);//第二种let numInt2 = Number(num);console.log(numInt2);//第三种let n