debian-mirror-gitlab/core-js/internals/descriptors.js

7 lines
214 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
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;
});