4 ms·
That falls out of destructuring, so if you order def foo(@bar) now, we'll throw in a free {@kbar, fu: @bar, blitz: [@first, @rest...]} = someHash At no extr
by raganwald 15y ago
That falls out of destructuring, so if you order def foo(@bar) now, we'll throw in a free
{@kbar, fu: @bar, blitz: [@first, @rest...]} = someHash
At no extra charge.
- ericb 15y agoPerhaps it is the wording, but I actually have no understanding of what you just said. I'm interested though, so can you expand on that a bit?
- raganwald 15y agoCoffeeScript implements def foo (@bar, @blitz) using destructuring assignment, a general facility that applies to assignment statements, not just function calls.