mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
243 B
JavaScript
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;
|
||
|
};
|
||
|
});
|