mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
11 lines
378 B
JavaScript
11 lines
378 B
JavaScript
|
var DESCRIPTORS = require('../internals/descriptors');
|
||
|
var fails = require('../internals/fails');
|
||
|
var createElement = require('../internals/document-create-element');
|
||
|
|
||
|
// Thank's IE8 for his funny defineProperty
|
||
|
module.exports = !DESCRIPTORS && !fails(function () {
|
||
|
return Object.defineProperty(createElement('div'), 'a', {
|
||
|
get: function () { return 7; }
|
||
|
}).a != 7;
|
||
|
});
|