setup-php/node_modules/object.getownpropertydescriptors/polyfill.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

8 lines
227 B
JavaScript

'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation;
};