18 lines
314 B
JavaScript
18 lines
314 B
JavaScript
// Generated by CoffeeScript 1.11.0
|
|
var Person, tim;
|
|
|
|
Person = (function() {
|
|
function Person(options) {
|
|
var ref;
|
|
this.name = options.name, this.age = options.age, this.height = (ref = options.height) != null ? ref : 'average';
|
|
}
|
|
|
|
return Person;
|
|
|
|
})();
|
|
|
|
tim = new Person({
|
|
name: 'Tim',
|
|
age: 4
|
|
});
|