0

I've googled around and it seems that global object could be treated as global object (similar to window in a browser, but not an equivalent), since all global objects I can access, like process, are placed on the global:

global.process === process // true

However, when I output this it outputs an empty object:

console.log(this); // {}

So what is this and global objects?

Max Koretskyi
  • 101,079
  • 60
  • 333
  • 488

0 Answers0