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.

object-prototype-accessors-forced.js 689B

1234567891011121314151617
  1. 'use strict';
  2. var IS_PURE = require('../internals/is-pure');
  3. var global = require('../internals/global');
  4. var fails = require('../internals/fails');
  5. var WEBKIT = require('../internals/engine-webkit-version');
  6. // Forced replacement object prototype accessors methods
  7. module.exports = IS_PURE || !fails(function () {
  8. // This feature detection crashes old WebKit
  9. // https://github.com/zloirock/core-js/issues/232
  10. if (WEBKIT && WEBKIT < 535) return;
  11. var key = Math.random();
  12. // In FF throws only define methods
  13. // eslint-disable-next-line no-undef, no-useless-call -- required for testing
  14. __defineSetter__.call(null, key, function () { /* empty */ });
  15. delete global[key];
  16. });