main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
477 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var DESCRIPTORS = require('../internals/descriptors');
|
---|
3 | var fails = require('../internals/fails');
|
---|
4 | var createElement = require('../internals/document-create-element');
|
---|
5 |
|
---|
6 | // Thanks to IE8 for its funny defineProperty
|
---|
7 | module.exports = !DESCRIPTORS && !fails(function () {
|
---|
8 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
---|
9 | return Object.defineProperty(createElement('div'), 'a', {
|
---|
10 | get: function () { return 7; }
|
---|
11 | }).a !== 7;
|
---|
12 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.