4 ms·
Many people tried different ways to create objects. All big frameworks come with their own methods to do this. Some people use closures to create inheritance.
by damienklinnert 14y ago
Many people tried different ways to create objects. All big frameworks come with their own methods to do this. Some people use closures to create inheritance.
I just tried to define which way seems to be the best one this days to follow. I don't like to use all that frameworks for object systems. However, the most important thing is the new 'class' feature in ECMAScript6.