监听器函数被调用时会带上一个包含接收的那一行输入的字符串。 例子: rl.on('line', (input) => { console.log(`接收到:${input}`); }); ...
確定! 回上一頁