source: trip-planner-front/node_modules/core-js/internals/array-method-is-strict.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 345 bytes
Line 
1'use strict';
2var fails = require('../internals/fails');
3
4module.exports = function (METHOD_NAME, argument) {
5 var method = [][METHOD_NAME];
6 return !!method && fails(function () {
7 // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
8 method.call(null, argument || function () { throw 1; }, 1);
9 });
10};
Note: See TracBrowser for help on using the repository browser.