source: trip-planner-front/node_modules/core-js/internals/correct-prototype-getter.js@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 290 bytes
Line 
1var fails = require('../internals/fails');
2
3module.exports = !fails(function () {
4 function F() { /* empty */ }
5 F.prototype.constructor = null;
6 // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
7 return Object.getPrototypeOf(new F()) !== F.prototype;
8});
Note: See TracBrowser for help on using the repository browser.