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