swc/ecmascript/jsdoc/tests/fixtures/lends2.js
2020-08-14 18:20:25 +09:00

18 lines
389 B
JavaScript

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