RSSAmplifier

Phil Nash · Feb 9, 2017

A toast to ES2015 destructuring

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I think the ES2015 destructuring syntax is pretty cool. It might not grab the headlines like Promises, Generators or the class syntax, but I find it really useful. It’s also surprisingly detailed when you read into it . The only shame is that most of the examples I’ve found focus on just the syntax and not real life usage. Like this one from the MDN docs : var a , b ; [ a , b ] = [ 10 , 20 ];…

Read on philna.sh

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.