Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit ddb2890

Browse files
committed
Editorial: tweak wording of "standard base64 alphabet"
1 parent 72cebc0 commit ddb2890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ <h1>
220220
</h1>
221221
<dl class="header">
222222
</dl>
223-
<p>The <dfn id="standard-base64-alphabet">standard base64 alphabet</dfn> is a List whose elements are the code points corresponding to every letter and number in the Unicode Basic Latin block along with *"+"* and *"/"*; that is, it is StringToCodePoints(*"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"*).</p>
223+
<p>The <dfn id="standard-base64-alphabet">standard base64 alphabet</dfn> is the String whose elements are the code units corresponding to every letter and number in the Unicode Basic Latin block along with *"+"* and *"/"*; that is, it is *"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"*.</p>
224224
<emu-alg>
225225
1. Let _chunkLength_ be the length of _chunk_.
226226
1. If _chunkLength_ is 2, then
@@ -308,7 +308,7 @@ <h1>
308308
1. If _char_ is either *"+"* or *"/"*, throw a *SyntaxError* exception.
309309
1. Else if _char_ is *"-"*, set _char_ to *"+"*.
310310
1. Else if _char_ is *"_"*, set _char_ to *"/"*.
311-
1. If _char_ is not an element of the standard base64 alphabet, throw a *SyntaxError* exception.
311+
1. If the sole code unit of _char_ is not an element of the standard base64 alphabet, throw a *SyntaxError* exception.
312312
1. Let _remaining_ be _maxLength_ - the length of _bytes_.
313313
1. If _remaining_ = 1 and _chunkLength_ = 2, or if _remaining_ = 2 and _chunkLength_ = 3, then
314314
1. Return the Record { [[Read]]: _read_, [[Bytes]]: _bytes_ }.

0 commit comments

Comments
 (0)