/
asias
/
new
Обзор
Документация
Войти
/
asias
/
new
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/reflect.getprototypeof/polyfill.js
14 строк
350 B
AnastasyaDemina
project
07 дек 2025, 23:03
07 дек 2025, 23:03
7c21e25
Код
Авторство
О чём код?
'use strict'; var implementation = require('./implementation'); var getProto = require('get-proto'); module.exports = function getPolyfill() { if (typeof Reflect === 'object' && Reflect && Reflect.getPrototypeOf) { return Reflect.getPrototypeOf; } return getProto ? function getPrototypeOf(O) { return getProto(O); } : implementation; };