D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
ebrokers.online
/
node_modules
/
reflect.getprototypeof
/
Filename :
shim.js
back
Copy
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimGetPrototypeOf() { define( global, { Reflect: {} }, { Reflect: function () { return typeof Reflect !== 'object' || !Reflect; } } ); var polyfill = getPolyfill(); define( Reflect, { getPrototypeOf: polyfill }, { getPrototypeOf: function () { return Reflect.getPrototypeOf !== polyfill; } } ); return polyfill; };