📜  强制 javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:08.039000             🧑  作者: Mango

代码示例1
const value1 = '5';
const value2 = 9;
let sum = Number(value1) + value2;

console.log(sum);