swc/crates/jsdoc/tests/fixtures/lends4.js
2021-11-10 16:39:01 +09:00

17 lines
406 B
JavaScript

define([], function () {
var Person = makeClass(
/** @lends Person.prototype */
{
/** @constructs */
initialize: function(name) {
this.name = name;
},
/** Speak a message. */
say: function(message) {
return this.name + " says: " + message;
}
}
);
return Person;
});