es.reflect.is-extensible.js 394 B

123456789101112
  1. var $ = require('../internals/export');
  2. var anObject = require('../internals/an-object');
  3. var $isExtensible = require('../internals/object-is-extensible');
  4. // `Reflect.isExtensible` method
  5. // https://tc39.es/ecma262/#sec-reflect.isextensible
  6. $({ target: 'Reflect', stat: true }, {
  7. isExtensible: function isExtensible(target) {
  8. anObject(target);
  9. return $isExtensible(target);
  10. }
  11. });