source: imaps-frontend/node_modules/core-js/modules/es.array-buffer.detached.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: 596 bytes
Line 
1'use strict';
2var DESCRIPTORS = require('../internals/descriptors');
3var defineBuiltInAccessor = require('../internals/define-built-in-accessor');
4var isDetached = require('../internals/array-buffer-is-detached');
5
6var ArrayBufferPrototype = ArrayBuffer.prototype;
7
8// `ArrayBuffer.prototype.detached` getter
9// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
10if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
11 defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
12 configurable: true,
13 get: function detached() {
14 return isDetached(this);
15 }
16 });
17}
Note: See TracBrowser for help on using the repository browser.