2017-04-20 21:14:08 +02:00
|
|
|
// Copyright (C) 2017 Rick Waldron. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
esid: sec-arraybuffer-constructor
|
|
|
|
description: >
|
|
|
|
ArrayBuffer.length is 1.
|
2018-01-05 18:26:51 +01:00
|
|
|
info: |
|
2017-04-20 21:14:08 +02:00
|
|
|
ArrayBuffer ( length )
|
|
|
|
|
2018-03-08 15:21:09 +01:00
|
|
|
ECMAScript Standard Built-in Objects:
|
2017-04-20 21:14:08 +02:00
|
|
|
|
2018-03-08 15:21:09 +01:00
|
|
|
Every built-in function object, including constructors, has a length
|
|
|
|
property whose value is an integer. Unless otherwise specified, this
|
|
|
|
value is equal to the largest number of named arguments shown in the
|
|
|
|
subclause headings for the function description. Optional parameters
|
|
|
|
(which are indicated with brackets: [ ]) or rest parameters (which
|
|
|
|
are shown using the form «...name») are not included in the default
|
|
|
|
argument count.
|
|
|
|
|
|
|
|
Unless otherwise specified, the length property of a built-in function
|
|
|
|
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
|
|
|
[[Configurable]]: true }.
|
2017-04-20 21:14:08 +02:00
|
|
|
includes: [propertyHelper.js]
|
2018-03-08 15:21:09 +01:00
|
|
|
features: [ArrayBuffer]
|
2017-04-20 21:14:08 +02:00
|
|
|
---*/
|
|
|
|
|
|
|
|
verifyProperty(ArrayBuffer, "length", {
|
2018-03-08 15:21:09 +01:00
|
|
|
value: 1,
|
2017-04-20 21:14:08 +02:00
|
|
|
enumerable: false,
|
2018-03-08 15:21:09 +01:00
|
|
|
writable: false,
|
2017-04-20 21:14:08 +02:00
|
|
|
configurable: true,
|
|
|
|
});
|