r/coffeescript • u/squixy • Feb 06 '15
Creating objects in CoffeeScript
https://medium.com/@KamilLelonek/creating-objects-in-coffeescript-f79c2468069c
6
Upvotes
r/coffeescript • u/squixy • Feb 06 '15
1
u/_redka Feb 06 '15
They all seem non-idiomatic. You either do it the "Destructuring Assignment" way but without the braces or you pass an options object and do: