Chapter Quiz: Introduction to Node.js: JavaScript Beyond the Browser

Node.js Basics Quiz

Complete this assessment with 100% score to master this chapter.

01How do you run a Node.js script named 'app.js' in the terminal?

02Which object in Node.js provides information about the current running process?

03Which of the following is available in a browser but NOT in plain Node.js?

04What does REPL stand for in the context of Node.js?

05Why should you use environment variables (process.env) instead of hard-coding secrets in your code?