What do the curly braces do here in this variable definition?
const { foo } = this.bar;
What do the curly braces do here in this variable definition?
const { foo } = this.bar;
Javascript destructuring, explained here https://davidwalsh.name/destructuring-alias