lends5.js 334 B

12345678910111213141516
  1. (function() {
  2. /**
  3. * @class Person
  4. */
  5. function Person(name) {}
  6. Person.prototype = Object.create(null, /** @lends Person.prototype */ {
  7. /** Speak a message. */
  8. say: function(message) {
  9. return this.name + " says: " + message;
  10. }
  11. });
  12. this.Person = Person;
  13. }).call(this);