Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
308 bytes
|
Line | |
---|
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.