mstch/test/data/lambda/partial_view.js

15 lines
249 B
JavaScript
Raw Normal View History

2015-04-12 23:12:52 +08:00
({
greeting: function () {
return "Welcome";
},
farewell: function () {
return "Fair enough, right?";
},
name: "Chris",
value: 10000,
taxed_value: function () {
return this.value - (this.value * 0.4);
},
in_ca: true
})