Nodejs Utililty Methods Function Mixin

List of utility methods to do Function Mixin

Description

The list of methods to do Function Mixin are organized into topic(s).

Method

mixin()
Function.prototype.mixin = function() {
    var mixins = Array.toArray(arguments);
    mixins.forEach(function(mixin) {
        Object.extend(this.prototype, mixin.prototype || mixin);
    }, this);
};