Sign in
apache
/
nifi-fds
/
gh-pages
/
.
/
node_modules
/
es-abstract
/
helpers
/
getOwnPropertyDescriptor.js
blob: 352fbc6b81007ee3d176176f0e3a3f6ecd1d8208 [
file
] [
log
] [
blame
]
'use strict'
;
var
GetIntrinsic
=
require
(
'get-intrinsic'
);
var
$gOPD
=
GetIntrinsic
(
'%Object.getOwnPropertyDescriptor%'
,
true
);
if
(
$gOPD
)
{
try
{
$gOPD
([],
'length'
);
}
catch
(
e
)
{
// IE 8 has a broken gOPD
$gOPD
=
null
;
}
}
module
.
exports
=
$gOPD
;