debian-mirror-gitlab/core-js/internals/descriptors.js
2020-01-12 00:27:09 +05:30

6 lines
213 B
JavaScript

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