# Code coverage report for lib/utils/bind.js

## Statements: 100% (3 / 3) Branches: 100% (0 / 0) Functions: 100% (2 / 2) Lines: 100% (3 / 3) Ignored: none

All files » lib/utils/ » bind.js

    1
    2
    3
    4
    5
    6
    7
    81

    1137
    217

     module.exports = function(callback, context) {
      // TODO - DO ME
      // if (callback.bind) return callback.bind.apply(void 0, [context].concat(Array.prototype.slice.call(arguments, 2)));
      return function() {
        return callback.apply(context, arguments);
      };
    };