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

16 lines
334 B
JavaScript

(function() {
/**
* @class Person
*/
function Person(name) {}
Person.prototype = Object.create(null, /** @lends Person.prototype */ {
/** Speak a message. */
say: function(message) {
return this.name + " says: " + message;
}
});
this.Person = Person;
}).call(this);