hexo/node_modules/core-js/library/modules/es6.reflect.is-extensible.js

12 lines
325 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
// 26.1.10 Reflect.isExtensible(target)
var $export = require('./_export');
var anObject = require('./_an-object');
var $isExtensible = Object.isExtensible;
$export($export.S, 'Reflect', {
isExtensible: function isExtensible(target) {
anObject(target);
return $isExtensible ? $isExtensible(target) : true;
}
});