first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
11
node_modules/core-js/internals/array-buffer-non-extensible.js
generated
vendored
Normal file
11
node_modules/core-js/internals/array-buffer-non-extensible.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
|
||||
var fails = require('../internals/fails');
|
||||
|
||||
module.exports = fails(function () {
|
||||
if (typeof ArrayBuffer == 'function') {
|
||||
var buffer = new ArrayBuffer(8);
|
||||
// eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
|
||||
if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue