Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.object.is-extensible.js 585B

123456789101112131415
  1. var $ = require('../internals/export');
  2. var fails = require('../internals/fails');
  3. var isObject = require('../internals/is-object');
  4. // eslint-disable-next-line es/no-object-isextensible -- safe
  5. var $isExtensible = Object.isExtensible;
  6. var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });
  7. // `Object.isExtensible` method
  8. // https://tc39.es/ecma262/#sec-object.isextensible
  9. $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  10. isExtensible: function isExtensible(it) {
  11. return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
  12. }
  13. });