what\'s the difference between Browsers and Node? for instance:
setName.js on Node:
setName.js
var setName; setName = function (name) { return
Your browser code has the window host object. Node does not have that host object. When you set this.name, you are actually setting it to the window object aka making a global variable.
window
this.name
window.name === this.name // true