📜  4.8.3.关键输入细节¶ - Javascript 代码示例

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

代码示例1
// EXAMPLE // 

const input = require('readline-sync');

let num1 = input.question("Enter a number: ");
let num2 = input.question("Enter another number: ");

console.log(num1 + num2);