my-idlers/node_modules/collect.js/dist/methods/tap.js

7 lines
81 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function tap(fn) {
fn(this);
return this;
};