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

9 lines
243 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08: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;
};
});