Skip to content

Commit

Permalink
Editorial: Stylize "this object" consistently (#1736)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkirsling authored and ljharb committed Oct 16, 2019
1 parent cf8607e commit d4e4f44
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -29504,7 +29504,7 @@ <h1>String.prototype.codePointAt ( _pos_ )</h1>
<emu-clause id="sec-string.prototype.concat">
<h1>String.prototype.concat ( ..._args_ )</h1>
<emu-note>
<p>When the `concat` method is called it returns the String value consisting of the code units of the `this` object (converted to a String) followed by the code units of each of the arguments converted to a String. The result is a String value, not a String object.</p>
<p>When the `concat` method is called it returns the String value consisting of the code units of the *this* object (converted to a String) followed by the code units of each of the arguments converted to a String. The result is a String value, not a String object.</p>
</emu-note>
<p>When the `concat` method is called with zero or more arguments, the following steps are taken:</p>
<emu-alg>
Expand Down Expand Up @@ -29770,7 +29770,7 @@ <h1>String.prototype.repeat ( _count_ )</h1>
1. Return the String value that is made from _n_ copies of _S_ appended together.
</emu-alg>
<emu-note>
<p>This method creates the String value consisting of the code units of the `this` object (converted to String) repeated _count_ times.</p>
<p>This method creates the String value consisting of the code units of the *this* object (converted to String) repeated _count_ times.</p>
</emu-note>
<emu-note>
<p>The `repeat` function is intentionally generic; it does not require that its *this* value be a String object. Therefore, it can be transferred to other kinds of objects for use as a method.</p>
Expand Down Expand Up @@ -32066,7 +32066,7 @@ <h1>get RegExp [ @@species ]</h1>
</emu-alg>
<p>The value of the `"name"` property of this function is *"get [Symbol.species]"*.</p>
<emu-note>
<p>RegExp prototype methods normally use their `this` object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
<p>RegExp prototype methods normally use their *this* object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
</emu-note>
</emu-clause>
</emu-clause>
Expand Down Expand Up @@ -32890,7 +32890,7 @@ <h1>get Array [ @@species ]</h1>
</emu-alg>
<p>The value of the `"name"` property of this function is *"get [Symbol.species]"*.</p>
<emu-note>
<p>Array prototype methods normally use their `this` object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
<p>Array prototype methods normally use their *this* object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
</emu-note>
</emu-clause>
</emu-clause>
Expand Down Expand Up @@ -34526,7 +34526,7 @@ <h1>get %TypedArray% [ @@species ]</h1>
</emu-alg>
<p>The value of the `"name"` property of this function is *"get [Symbol.species]"*.</p>
<emu-note>
<p>%TypedArray.prototype% methods normally use their `this` object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
<p>%TypedArray.prototype% methods normally use their *this* object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
</emu-note>
</emu-clause>
</emu-clause>
Expand Down Expand Up @@ -36588,7 +36588,7 @@ <h1>get ArrayBuffer [ @@species ]</h1>
</emu-alg>
<p>The value of the `"name"` property of this function is *"get [Symbol.species]"*.</p>
<emu-note>
<p>ArrayBuffer prototype methods normally use their `this` object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
<p>ArrayBuffer prototype methods normally use their *this* object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
</emu-note>
</emu-clause>
</emu-clause>
Expand Down Expand Up @@ -39849,7 +39849,7 @@ <h1>get Promise [ @@species ]</h1>
</emu-alg>
<p>The value of the `"name"` property of this function is *"get [Symbol.species]"*.</p>
<emu-note>
<p>Promise prototype methods normally use their `this` object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
<p>Promise prototype methods normally use their *this* object's constructor to create a derived object. However, a subclass constructor may over-ride that default behaviour by redefining its @@species property.</p>
</emu-note>
</emu-clause>
</emu-clause>
Expand Down

0 comments on commit d4e4f44

Please sign in to comment.