Skip to content

Commit

Permalink
Editorial: fix remaining "is zero" (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 14, 2020
1 parent 6cc1a6a commit 63ca907
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 @@ -4197,7 +4197,7 @@ <h1>ToBoolean ( _argument_ )</h1>
String
</td>
<td>
If _argument_ is the empty String (its length is zero), return *false*; otherwise return *true*.
If _argument_ is the empty String (its length is 0), return *false*; otherwise return *true*.
</td>
</tr>
<tr>
Expand Down Expand Up @@ -11235,7 +11235,7 @@ <h1>Static Semantics: NumericValue</h1>
<emu-clause id="sec-literals-string-literals">
<h1>String Literals</h1>
<emu-note>
<p>A string literal is zero or more Unicode code points enclosed in single or double quotes. Unicode code points may also be represented by an escape sequence. All code points may appear literally in a string literal except for the closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN), and U+000A (LINE FEED). Any code points may appear in the form of an escape sequence. String literals evaluate to ECMAScript String values. When generating these String values Unicode code points are UTF-16 encoded as defined in <emu-xref href="#sec-utf16encodecodepoint"></emu-xref>. Code points belonging to the Basic Multilingual Plane are encoded as a single code unit element of the string. All other code points are encoded as two code unit elements of the string.</p>
<p>A string literal is 0 or more Unicode code points enclosed in single or double quotes. Unicode code points may also be represented by an escape sequence. All code points may appear literally in a string literal except for the closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN), and U+000A (LINE FEED). Any code points may appear in the form of an escape sequence. String literals evaluate to ECMAScript String values. When generating these String values Unicode code points are UTF-16 encoded as defined in <emu-xref href="#sec-utf16encodecodepoint"></emu-xref>. Code points belonging to the Basic Multilingual Plane are encoded as a single code unit element of the string. All other code points are encoded as two code unit elements of the string.</p>
</emu-note>
<h2>Syntax</h2>
<emu-grammar type="definition">
Expand Down

0 comments on commit 63ca907

Please sign in to comment.