Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
470 bytes
|
Line | |
---|
1 | var $ = require('../internals/export');
|
---|
2 | var anObject = require('../internals/an-object');
|
---|
3 |
|
---|
4 | // eslint-disable-next-line es/no-object-isextensible -- safe
|
---|
5 | var objectIsExtensible = Object.isExtensible;
|
---|
6 |
|
---|
7 | // `Reflect.isExtensible` method
|
---|
8 | // https://tc39.es/ecma262/#sec-reflect.isextensible
|
---|
9 | $({ target: 'Reflect', stat: true }, {
|
---|
10 | isExtensible: function isExtensible(target) {
|
---|
11 | anObject(target);
|
---|
12 | return objectIsExtensible ? objectIsExtensible(target) : true;
|
---|
13 | }
|
---|
14 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.