Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
308 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var fails = require('../internals/fails');
|
---|
| 2 |
|
---|
| 3 | // Detect IE8's incomplete defineProperty implementation
|
---|
| 4 | module.exports = !fails(function () {
|
---|
| 5 | // eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
---|
| 6 | return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
---|
| 7 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.