📅  最后修改于: 2022-03-11 15:01:26.596000             🧑  作者: Mango
readline = require('readline').createInterface({
input: process.stdin,
output: process.stdout
})
readline.on("line", (line) => {
if (line === "") {
// Code
}
else if (line === "") {
// Code
}
})