In this code:
const express = require('express');
const app = express();
we are calling a function (or a class since classes are function in JS) from another module called express. I just want to know why sometimes we use keyword new and what is the difference.
What is the difference between the above code and this one:
const express = require('express');
const app = new express();