One possible way:
const result = doSomething(),
{ a, b } = result;
You still have to duplicate the name, though. const
token isn’t quite right-handy. )
One possible way:
const result = doSomething(),
{ a, b } = result;
You still have to duplicate the name, though. const
token isn’t quite right-handy. )