/
buuded
/
app-web-project
Обзор
Документация
Войти
/
buuded
/
app-web-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node_modules/array-includes/index.js
27 строк
778 B
buuded
first-commit
27 янв 2025, 10:32
27 янв 2025, 10:32
9efc400
Код
Авторство
О чём код?
'use strict'; var define = require('define-properties'); var RequireObjectCoercible = require('es-object-atoms/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;