Skip to content

Commit

Permalink
tweak wording to account for SAB ctor still existing
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Jul 5, 2020
1 parent 261ca97 commit 44db061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -37133,13 +37133,13 @@ <h1>The SharedArrayBuffer Constructor</h1>
<p>The SharedArrayBuffer constructor:</p>
<ul>
<li>is the intrinsic object <dfn>%SharedArrayBuffer%</dfn>.</li>
<li>is the initial value of the *"SharedArrayBuffer"* property of the global object.</li>
<li>is the initial value of the *"SharedArrayBuffer"* property of the global object, if that property is present (see below).</li>
<li>creates and initializes a new SharedArrayBuffer object when called as a constructor.</li>
<li>is not intended to be called as a function and will throw an exception when called in that manner.</li>
<li>is designed to be subclassable. It may be used as the value of an `extends` clause of a class definition. Subclass constructors that intend to inherit the specified `SharedArrayBuffer` behaviour must include a `super` call to the `SharedArrayBuffer` constructor to create and initialize subclass instances with the internal state necessary to support the `SharedArrayBuffer.prototype` built-in methods.</li>
</ul>

<p>Hosts are not required to provide the SharedArrayBuffer constructor if they do not provide concurrent access to SharedArrayBuffer objects, in which case the global object must not initially have a *"SharedArrayBuffer"* property.</p>
<p>If a host does not provide concurrent access to SharedArrayBuffer objects it may omit the *"SharedArrayBuffer"* property of the global object.</p>

<emu-note>
<p>Unlike an `ArrayBuffer`, a `SharedArrayBuffer` cannot become detached, and its internal [[ArrayBufferData]] slot is never *null*.</p>
Expand Down

0 comments on commit 44db061

Please sign in to comment.