Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Static members
- var Human = Kind.extend({
- toString : function() { console.log("hello : ", this); },
- initialize : function (name) {
- console.log("human constructor");
- this.name = name
- }
- },{ //Static
- counter : 0,
- getCounter : function() { return this.counter; }
- });
Add Comment
Please, Sign In to add comment