var Person = makeClass( /** @scope Person */ { /** This is just another way to define a constructor. @constructs @param {string} name The name of the person. */ initialize: function(name) { this.name = name; }, say: function(message) { return this.name + " says: " + message; } } );
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 16445 | christiane_renck | Rename/move file(s) | ||
#1 | 16444 | christiane_renck | Adding MergeQuestJS to the Workshop. |