securityos/node_modules/core-js/library/modules/es6.object.is-frozen.js

9 lines
243 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
// 19.1.2.12 Object.isFrozen(O)
var isObject = require('./_is-object');
require('./_object-sap')('isFrozen', function ($isFrozen) {
return function isFrozen(it) {
return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
};
});