Sha256: 8a1d24c4eb6ef7596147c54fd6a611fcb12b748a39494e46fc55493cd8f424e4
Contents?: true
Size: 779 Bytes
Versions: 26
Compression:
Stored size: 779 Bytes
Contents
'use strict'; var define = require('define-properties'); var RequireObjectCoercible = require('es-abstract/2023/RequireObjectCoercible'); var callBind = require('call-bind'); var callBound = require('call-bind/callBound'); var implementation = require('./implementation'); var getPolyfill = require('./polyfill'); var polyfill = callBind.apply(getPolyfill()); var shim = require('./shim'); var $slice = callBound('Array.prototype.slice'); /* eslint-disable no-unused-vars */ var boundShim = function includes(array, searchElement) { /* eslint-enable no-unused-vars */ RequireObjectCoercible(array); return polyfill(array, $slice(arguments, 1)); }; define(boundShim, { getPolyfill: getPolyfill, implementation: implementation, shim: shim }); module.exports = boundShim;
Version data entries
26 entries across 26 versions & 1 rubygems