Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
459 bytes
|
Line | |
---|
1 | var DESCRIPTORS = require('../internals/descriptors');
|
---|
2 | var fails = require('../internals/fails');
|
---|
3 | var createElement = require('../internals/document-create-element');
|
---|
4 |
|
---|
5 | // Thank's IE8 for his funny defineProperty
|
---|
6 | module.exports = !DESCRIPTORS && !fails(function () {
|
---|
7 | // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
|
---|
8 | return Object.defineProperty(createElement('div'), 'a', {
|
---|
9 | get: function () { return 7; }
|
---|
10 | }).a != 7;
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.