Global objects accessibility

Report a typo

Which variable is accessible from the Node.js global scope?

global.settings = { color: 'tomato', size: '12px' };

const preferences = { backgroundType: 'image', width: 10, height: 100 };

window.user = { name: 'John', id: 12, age: '25' };
Select one option from the list
___

Create a free account to access the full topic