Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
290 bytes
|
Line | |
---|
1 | var fails = require('../internals/fails');
|
---|
2 |
|
---|
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;
|
---|
8 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.