I’m starting learning Webpack.
In the teachers code in the file index.js that Webpack creates its something like:
var {initializeButtons} = require('./mainfile.js');
initializeButtons();
Can someone explain why {initializeButtons} is a variable there?
Thank you so much 🙂