1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/coffee/constructor_destructuring.coffee

4 lines
80 B
CoffeeScript

class Person
constructor: (options) ->
{@name, @age, @height} = options