mootools / class / objectinstance doesn't work
Hey. I have no idea why i get a 'b' and not an 'a' when i call a.get(). Can someone help me? var tclass = new Class({ initialize:function(n){ this.options = Object.extend({'name' : n}); }, get:function(){ return this.options.name; } }); a = new tclass('a'); b = new tclass('b'); a.get() // b ...