Which process method must be called to terminate the program after a message with user data is displayed in the console?
process.stdin.on('data', (inputMessage) => {
console.log(inputMessage);
// stop program
});Which process method must be called to terminate the program after a message with user data is displayed in the console?
process.stdin.on('data', (inputMessage) => {
console.log(inputMessage);
// stop program
});Create a free account to access the full topic