blob: 24d839ba60a02e6551d5b85cb34d63bb52b46510 [file] [log] [blame]
// Copyright (C) 2021 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-get-arraybuffer.prototype.maxbytelength
description: >
get ArrayBuffer.prototype.maxByteLength
17 ECMAScript Standard Built-in Objects
Functions that are specified as get or set accessor functions of built-in
properties have "get " or "set " prepended to the property name string.
includes: [propertyHelper.js]
features: [resizable-arraybuffer]
---*/
var desc = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, 'maxByteLength');
verifyProperty(desc.get, 'name', {
value: 'get maxByteLength',
enumerable: false,
writable: false,
configurable: true
});