'use strict'; var define = require('define-properties'); var RequireObjectCoercible = require('es-abstract/2022/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;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
.editorconfig | File | 276 B | 0644 |
|
.eslintrc | File | 425 B | 0644 |
|
.nycrc | File | 139 B | 0644 |
|
CHANGELOG.md | File | 6.64 KB | 0644 |
|
LICENSE | File | 1.05 KB | 0644 |
|
README.md | File | 3.3 KB | 0644 |
|
auto.js | File | 36 B | 0644 |
|
implementation.js | File | 1.27 KB | 0644 |
|
index.js | File | 779 B | 0644 |
|
package.json | File | 2.72 KB | 0644 |
|
polyfill.js | File | 301 B | 0644 |
|
shim.js | File | 345 B | 0644 |
|