1026ad82f9776bfd20c507d3000f1f9f642e977ba290adcbf5c98f22f3e042e7d8fb15fb567035d264fcf6c1ad7df040fa125fa3999601448390e0e2b5cb61 642 B

1234567891011121314
  1. 'use strict';
  2. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  3. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  4. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  5. // Nashorn ~ JDK8 bug
  6. var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  7. // `Object.prototype.propertyIsEnumerable` method implementation
  8. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  9. exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  10. var descriptor = getOwnPropertyDescriptor(this, V);
  11. return !!descriptor && descriptor.enumerable;
  12. } : $propertyIsEnumerable;