UNPKG

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