MrShi
2025-04-23 c8b32b8bca79a116cfab70eb8c389907b664c9ca
1
2
3
4
5
6
7
8
'use strict';
var fails = require('../internals/fails');
 
// Detect IE8's incomplete defineProperty implementation
module.exports = !fails(function () {
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
});