work.suroh.tk/node_modules/core-js/modules/es6.object.is-frozen.js

9 lines
243 B
JavaScript

// 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;
};
});