A number of default objects and properties come with the Node environment.
__filename
: The absolute file name of the current module.
__dirname
: The directory of the current module.
process
Global Object
: A global object provides various information sets about the runtime of a program.
process.argv
: An array containing the command-line arguments passed when the Node.js process was launched.
this
: The infamous this
keyword returns an empty object by default.
global
: The Node global object replaces the window
object in browsers.