https://www.can …
Read More »JS系统教程三-type conversion
如何将数据转换成不同类型 const name = 'Jony'; const age = 30; const person = { name:'brad', age:55 } let amount = 100; // change string to number ////////////////////////////// // amount = parseInt(amount); // // const num = 99.5; // amount = parseFloat(num); 会显示小数 ...
Read More »