install-nix-action/node_modules/object.getownpropertydescriptors/polyfill.js

8 lines
227 B
JavaScript
Raw Permalink Normal View History

2020-02-24 23:29:22 +11:00
'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation;
};