source: imaps-frontend/node_modules/core-js/internals/array-buffer-non-extensible.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 454 bytes
RevLine 
[79a0317]1'use strict';
2// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
3var fails = require('../internals/fails');
4
5module.exports = fails(function () {
6 if (typeof ArrayBuffer == 'function') {
7 var buffer = new ArrayBuffer(8);
8 // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
9 if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
10 }
11});
Note: See TracBrowser for help on using the repository browser.