Node.js · Junior · Question 5 of 75

What is the name of the global object in Node.js?

Explanation

globalThis is the standard name that works in every environment. In Node.js it points to global; in browsers it points to window.

Further reading

Problem with a question

Node.js · Junior · question 5

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz