mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
6 lines
105 B
CoffeeScript
6 lines
105 B
CoffeeScript
class Person
|
|
constructor: (options) ->
|
|
{@name, @age, @height} = options
|
|
|
|
tim = new Person age: 4
|
|
|