From 63ca90741c368a912515c56ff056b4e77fe2c64f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 14 Dec 2020 11:54:28 -0800 Subject: [PATCH] Editorial: fix remaining "is zero" (#1086) --- spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index 7d2749ec96..2f89ce1a1c 100644 --- a/spec.html +++ b/spec.html @@ -4197,7 +4197,7 @@

ToBoolean ( _argument_ )

String - 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*. @@ -11235,7 +11235,7 @@

Static Semantics: NumericValue

String Literals

-

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 . 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.

+

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 . 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.

Syntax