not.js 319 B

1234567891011
  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 () { return !apply.call(fn, this, arguments); }, fn.length);
  8. };