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

16 lines
365 B
JavaScript

/** @class */
var Person = makeClass(
/** @lends Person# */
{
/** Set up initial values. */
initialize: function(name) {
/** The name of the person. */
this.name = name;
},
/** Speak a message. */
say: function(message) {
return this.name + " says: " + message;
}
}
);