7 lines
262 B
JavaScript
7 lines
262 B
JavaScript
![]() |
var fails = require('../internals/fails');
|
||
|
|
||
|
module.exports = !fails(function () {
|
||
|
// eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing
|
||
|
return Object.isExtensible(Object.preventExtensions({}));
|
||
|
});
|