travel/admin/node_modules/JSV/jsdoc-toolkit/app/test/lend.js

33 lines
480 B
JavaScript
Raw Normal View History

2024-06-24 11:28:18 +08:00
/** @class */
var Person = Class.create(
/**
@lends Person.prototype
*/
{
initialize: function(name) {
this.name = name;
},
say: function(message) {
return this.name + ': ' + message;
}
}
);
/** @lends Person.prototype */
{
/** like say but more musical */
sing: function(song) {
}
}
/** @lends Person */
{
getCount: function() {
}
}
/** @lends Unknown.prototype */
{
notok: function() {
}
}