es.reflect.is-extensible.js 408 B

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