I have this piece of code :
var obj1; var obj2; function x() { obj1 = this; } function y() { obj2 = this; } x(); y(); console.log(obj1 === o
In the Browser-Context the last this points to the Windowobject, which does exist in Node-Context. Therefore the last this is an empty object. The occurrences of this in the functions however point to some global object in the Node-Context.