by mrspeaker · 15y ago · 0 comments
And being able to do
var obj = protoObj <| { ... properties ... }
would be fantastic. If I that, and short function syntax then I'd be happy.We need an easy way to mixin/extend objects.
var obj = protoObj <| mixin({ ... properties ... }, mixinA);
We also need a solid way to create instances. object.create(obj);
obj.constructor();
is just too verbose. There is some talk around making `new` work with object exemplars which would be great.