JS-ObjectExtend
This is a small function for extending an object though inheritance. Copyied from Juan Mendes StackOverflow answer.
Prototypcial inheritance is easy, inheriting a constructor is a little more convoluted.
Usage
extend(Super, Sub);
This is a small function for extending an object though inheritance. Copyied from Juan Mendes StackOverflow answer.
Prototypcial inheritance is easy, inheriting a constructor is a little more convoluted.
extend(Super, Sub);