You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 263B

12345678910111213141516
  1. 'use strict';
  2. var GetIntrinsic = require('get-intrinsic');
  3. var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
  4. if ($gOPD) {
  5. try {
  6. $gOPD([], 'length');
  7. } catch (e) {
  8. // IE 8 has a broken gOPD
  9. $gOPD = null;
  10. }
  11. }
  12. module.exports = $gOPD;