2
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 relation to performance or are both equal? A friend told me to have seen somewhere (who does not remember) that one of them is heavier and can influence the performance whenever the file is executed.
Got it! Thank you.
– Getulio