Q: 4
A developer creates a new web server that uses Node.js. It imports a server library that uses events
and callbacks for handling server functionality. The server library is imported with require and is
made available to the code by a variable named server. The developer wants to log any issues that
the server has while booting up.
Which code logs an error at boot time with an event?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.