Today I had to look this up for the X number time, so I thought I’d post it and see if it suck.
const { twitter: tweet, facebook: fb } = wes.links.social;
The above code will pull the
wes.links.social.twitter
into a variable called tweet and similarly for facebook.