094d161adea9840517b02ebdf77356cad7c2a33e5471800559fce021af1ec061b7a1391ce0471e8d46eb2bd1b51e67dbb8ec112950208d700231be509423ae 329 B

12345678910
  1. 'use strict';
  2. var fails = require('../internals/fails');
  3. module.exports = function (METHOD_NAME, argument) {
  4. var method = [][METHOD_NAME];
  5. return !!method && fails(function () {
  6. // eslint-disable-next-line no-useless-call -- required for testing
  7. method.call(null, argument || function () { return 1; }, 1);
  8. });
  9. };