source: frontend/node_modules/core-js/internals/array-method-is-strict.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 329 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 -- required for testing
8 method.call(null, argument || function () { return 1; }, 1);
9 });
10};
Note: See TracBrowser for help on using the repository browser.