/
buuded
/
app-web-project
Обзор
Документация
Войти
/
buuded
/
app-web-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node_modules/reflect.getprototypeof/polyfill.js
14 строк
350 B
buuded
first-commit
27 янв 2025, 10:32
27 янв 2025, 10:32
9efc400
Код
Авторство
О чём код?
'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; };