1
2
3
4
5
6
7
8
9
10
11
12
| var DESCRIPTORS = require('../internals/descriptors');
| var fails = require('../internals/fails');
|
| // V8 ~ Chrome 36-
| // https://bugs.chromium.org/p/v8/issues/detail?id=3334
| module.exports = DESCRIPTORS && fails(function () {
| // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
| return Object.defineProperty(function () { /* empty */ }, 'prototype', {
| value: 42,
| writable: false
| }).prototype != 42;
| });
|
|