debian-mirror-gitlab/core-js/internals/descriptors.js
2019-09-25 13:30:05 +05:30

6 lines
214 B
JavaScript

var fails = require('../internals/fails');
// Thank's IE8 for his funny defineProperty
module.exports = !fails(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});