When I enter code console.log(this);
in Chrome dev tools, it displays:
Window {stop: function, open: function, alert: function, confirm: function, prompt: function…}
but when I execute same code in node.js (v6.11.1) it displays:
{}
Shouldn't it display information about global object?
(Said code is only thing that is executed, it is not part of a program.)