Skip to content

Commit

Permalink
Normative: Change ArrayBuffer.length back to 1 per web-reality
Browse files Browse the repository at this point in the history
Change the length property back to 1 as defined in ECMA2016, implemented in all browsers, and also as tested in test262.
  • Loading branch information
anba authored and bterlson committed Feb 4, 2017
1 parent cbaf58e commit 44c319f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Expand Up @@ -33809,8 +33809,8 @@ <h1>The ArrayBuffer Constructor</h1>

<!-- es6num="24.1.2.1" -->
<emu-clause id="sec-arraybuffer-length">
<h1>ArrayBuffer ( [ _length_ ] )</h1>
<p>When the `ArrayBuffer` function is called with optional argument _length_, the following steps are taken:</p>
<h1>ArrayBuffer ( _length_ )</h1>
<p>When the `ArrayBuffer` function is called with argument _length_, the following steps are taken:</p>
<emu-alg>
1. If NewTarget is *undefined*, throw a *TypeError* exception.
1. Let _byteLength_ be ? ToIndex(_length_).
Expand Down

0 comments on commit 44c319f

Please sign in to comment.