Js is supported by default. When your node.js process starts, it automatically provides access to all existing environment variables by creating an object env as a property of the global object process. If you want to take a look at the object, run the node.js environment repl with nodein your 11-digit phone number format philippines command line, and type: javascript copy the code console.

Log(process.env); this code should produce all the environment variables that this node.js process knows about. To access a specific variable, do as you would for any property of an object: javascript copy the code console.log('the value of port is:', process.env.port); you should see that the value of port is undefined on your computer. However, cloud hosts like heroku or azure use the variable should listen on for routing to work properly.