D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
object.getownpropertydescriptors
/
Filename :
shim.js
back
Copy
'use strict'; var getPolyfill = require('./polyfill'); var define = require('define-properties'); module.exports = function shimGetOwnPropertyDescriptors() { var polyfill = getPolyfill(); define( Object, { getOwnPropertyDescriptors: polyfill }, { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } } ); return polyfill; };