This:
x = ({ title, description }) => { console.log(title, description) }
Works like this: (at least in terms of accessing the variables)
x = (title, description) => { console.log(title, description) }
It was quite surprising to me. First the first method describes the passed parameter as an object with certain keys title and description, but what is even more surprising, one can then access the values as normal variables.
Is it some syntactic sugar? Where is it mentioned in specification? This new JS is quite confusing.