source: imaps-frontend/node_modules/gopd/index.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 263 bytes
Line 
1'use strict';
2
3var GetIntrinsic = require('get-intrinsic');
4
5var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
6
7if ($gOPD) {
8 try {
9 $gOPD([], 'length');
10 } catch (e) {
11 // IE 8 has a broken gOPD
12 $gOPD = null;
13 }
14}
15
16module.exports = $gOPD;
Note: See TracBrowser for help on using the repository browser.