/
dany
/
ReshenijaBotInformationSite
Обзор
Документация
Войти
/
dany
/
ReshenijaBotInformationSite
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
node_modules/array-includes/shim.js
14 строк
345 B
Daniil
Initial commit
31 окт 2023, 01:10
31 окт 2023, 01:10
a171ae1
Код
Авторство
О чём код?
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimArrayPrototypeIncludes() { var polyfill = getPolyfill(); define( Array.prototype, { includes: polyfill }, { includes: function () { return Array.prototype.includes !== polyfill; } } ); return polyfill; };