coco
coco copied to clipboard
allow `=` in destructuring assignment default
trafficstars
https://github.com/satyr/coco/wiki/additions#assignment-defaults-o-----a--b--c
For parameters, = can be used in place of ?.
i would like to use = for destructuring as well
Iirc, = in params is only allowed for historical reasons
i kinda guessed that - coffeescript uses = for default assignments. i would also be ok with removing = (#207); the inconsistency is what really bugs me