node-query/node_modules/jsdoc/test/fixtures/lends3.js

18 lines
385 B
JavaScript
Raw Normal View History

2014-10-20 16:56:45 -04:00
/** @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;
}
}
);