Can someone explain to me what this code means – Webpack + JS

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 🙂