This commit is contained in:
MiTiX
2020-03-02 14:53:23 +07:00
parent f2c263eefa
commit 2ae7118139
4280 changed files with 484929 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
"use strict";
var ensurePlainFunction = require("../../object/ensure-plain-function")
, defineLength = require("../_define-length")
, nextTick = require("next-tick");
var apply = Function.prototype.apply;
module.exports = function () {
var src = ensurePlainFunction(this);
return defineLength(function () { nextTick(apply.bind(src, this, arguments)); }, this.length);
};