There javascript class, if he can 'inherit' a few objects - that is, to know their methods
var A = function (a,c){};
var N = {
properties1: function(){};
};
var M1 = {
properties2: function(){};
};
var M2 = {
properties3: function(){};
};
How to do that would 'A' , knew (the heir) of 'N' and 'M1' , 'M2' ...'M10' ... ?
A.prototype = N;
A.prototype = M1;
A.prototype = M2;
It does not work :( How to implement such an event structure in javascript