Sha256: 1eb39d712becd8f7d3acd3d7b2b559155bc180595597699b663559716bae3d6c
Contents?: true
Size: 577 Bytes
Versions: 64
Compression:
Stored size: 577 Bytes
Contents
var pIE = require('./_object-pie'); var createDesc = require('./_property-desc'); var toIObject = require('./_to-iobject'); var toPrimitive = require('./_to-primitive'); var has = require('./_has'); var IE8_DOM_DEFINE = require('./_ie8-dom-define'); var gOPD = Object.getOwnPropertyDescriptor; exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); };
Version data entries
64 entries across 29 versions & 8 rubygems