EDIT
After looking at JSHint I found this ‘destructuring expression’ is available in ES6 (use esnext option) or Mozilla JS extensions (use moz) and this however after reading it I still don’t understand why it is used
I have come across the following code on MDN
var ui = require("sdk/ui");
var { ActionButton } = require("sdk/ui/button/action");
What do the braces on the second line do and why are they used? Why are there no braces on the first line?