web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
398 B

  1. "use strict";
  2. var ensurePlainFunction = require("../../object/ensure-plain-function")
  3. , defineLength = require("../_define-length")
  4. , nextTick = require("next-tick");
  5. var apply = Function.prototype.apply;
  6. module.exports = function () {
  7. var src = ensurePlainFunction(this);
  8. return defineLength(function () { nextTick(apply.bind(src, this, arguments)); }, this.length);
  9. };