Which of the following is a property of the Global Object in Node.js?

  • console
  • globalThis
  • module
  • require
In Node.js, the global object is a global context object that contains various properties and methods available throughout the application. globalThis is a reference to the global object, which allows cross-environment compatibility. console, module, and require are not properties of the global object but are commonly used in Node.js for various purposes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *