mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
On less wide screens, where the CoffeeScript is above the JavaScript, those lines resulted in an unnecessarily high box of CoffeeScript code.
6 lines
128 B
CoffeeScript
6 lines
128 B
CoffeeScript
class Person
|
|
constructor: (options) ->
|
|
{@name, @age, @height = 'average'} = options
|
|
|
|
tim = new Person name: 'Tim', age: 4
|