项目原始demo,不改动
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

преди 4 години
123456789
  1. 'use strict';
  2. var fails = require('./_fails');
  3. module.exports = function (method, arg) {
  4. return !!method && fails(function () {
  5. // eslint-disable-next-line no-useless-call
  6. arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
  7. });
  8. };