Quiz Yourself on Advanced Topics in Node.js
A short quiz on the Node.js topics covered here before we move on to the next chapter.
We'll cover the following...
1
What will be the output of this code?
process.on('beforeExit', () => {
console.log('blue');
});
process.on('exit', () => {
console.log('green');
});
console.log('red')
process.exit()
A)
red
blue
B)
red
green
C)
red
blue
green
Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.