Javascript – `this` keyword is undefined in NodeJS
I am having trouble understanding "this" keyword behaviors in JavaScript (NodeJS - v16.19.1). According to this site, "this" keyword in the global execution context will reference the global object: // this is my entire index.js file, I run "node index.js"…