Become a member
Sign in
Hi, thanks for this VERY interesting article, I just wanted to point out that something may have…
1
Marco Arduini
Maxence Dalmais
Maxence Dalmais
Jul 30, 2017 · 1 min read

Hey mar.arduini.

Thanks for your comment!

Looks like you are right, the proposed syntax does not work.

Will fix right now ;)

Regarding your proposal, this is a nice way to do it ;) Its works thanks to the fact that Map is an Iterable object, and Iterable Object can be destructed to give Array.

    Maxence Dalmais

    Written by

    Maxence Dalmais

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal