PromoCursed/node_modules/core-js/internals/freezing.js
2024-08-20 23:25:37 +04:00

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({}));
});