1 var fails = require('../internals/fails');
3 module.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;