not.js 316 B

1234567891011121314
  1. "use strict";
  2. var callable = require("../../object/valid-callable")
  3. , defineLength = require("../_define-length")
  4. , apply = Function.prototype.apply;
  5. module.exports = function () {
  6. var fn = callable(this);
  7. return defineLength(function () {
  8. return !apply.call(fn, this, arguments);
  9. }, fn.length);
  10. };