📅  最后修改于: 2022-03-11 15:01:37.979000             🧑  作者: Mango
/*The Number function can take a string and turn it into an integer.
Let us see this in action:*/
console.log(Number("2345"));
console.log(typeof Number("2345"))
console.log(Number(17));
//2345
//number
//17