📜  javascript 将字符串转换为数字 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:05.984000             🧑  作者: Mango
代码示例6
let int = "16";
int = +int;
console.log(int); // Output: 16
console.log(typeof int); Output: "number"