swc/crates/jsdoc/tests/fixtures/lends5.js
2021-11-10 16:39:01 +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);