I started learning NodeJS and noticed that there are some ways to request a file, two of them are:
const app = require('lib').app
const {app} = require('lib')
Is there any difference between them in performance or are they both the same? A friend told me that he saw somewhere (which he does not remember) that one is heavier and can influence performance every time the file is run.