Groups
Groups
Sign in
Groups
Groups
Columbus Javascript User Group
Conversations
About
Send feedback
Help
EcmaScript 6 followup... destructuring example author:{fname}
4 views
Skip to first unread message
Pete Gordon
unread,
Apr 15, 2015, 8:29:46 PM
4/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cbu...@googlegroups.com
Here's the example that we talked about for destructuring contract with nested object properties.....
function formattedTitle({title, author:{fname}}) {
return title + ' by ' + fname
}
https://github.com/ahabra/codemash15-ecmascript6/blob/master/democode/p10_destructure.js
Reply all
Reply to author
Forward
0 new messages