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.get-prototype-of.js 659B

12345678910111213141516
  1. var $ = require('../internals/export');
  2. var fails = require('../internals/fails');
  3. var toObject = require('../internals/to-object');
  4. var nativeGetPrototypeOf = require('../internals/object-get-prototype-of');
  5. var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');
  6. var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
  7. // `Object.getPrototypeOf` method
  8. // https://tc39.es/ecma262/#sec-object.getprototypeof
  9. $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
  10. getPrototypeOf: function getPrototypeOf(it) {
  11. return nativeGetPrototypeOf(toObject(it));
  12. }
  13. });