To verify if Node.js instance is dev or production, we get the NODE_ENV
environment variable value.
For instance, we write
const env = process.env.NODE_ENV || "development";
to get the NODE_ENV
environment variable value with process.env.NODE_ENV
.