Closed GoodForOneFare closed 8 years ago
Converts ({@a}) -> to ({a}) => this.a = a.
({@a}) ->
({a}) => this.a = a
I'd rather have handled the flattening of object pattern assignments elsewhere, but keeping it all inline is an easy way to maintain assignment order.
Adapted from @lemonmade's solution in Shopify/decaf.
Shopify/decaf
Converts
({@a}) ->
to({a}) => this.a = a
.I'd rather have handled the flattening of object pattern assignments elsewhere, but keeping it all inline is an easy way to maintain assignment order.
Adapted from @lemonmade's solution in
Shopify/decaf
.