I was just reading Javascript: Module Pattern vs Constructor/Prototype pattern? and I was curious to know that when we extend our class with $.fn.extend or $.extend which pattern is used, Module Pattern or Constructor/Prototype pattern?
Asked
Active
Viewed 413 times
1 Answers
4
[✓] None of the above.
This is the “copy all of this object properties to this other one” pattern: it just copies in target the properties of all other objects.

Arnaud Le Blanc
- 98,321
- 23
- 206
- 194