Skip to content

Commit

Permalink
Editorial: Replace uses of Type(...) notation
Browse files Browse the repository at this point in the history
Updated to match <tc39/ecma262#2874>.
  • Loading branch information
anba authored and ben-allen committed May 24, 2024
1 parent 3c57be5 commit 81abdc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/negotiation.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ <h1>
1. Set _supportedExtensionAddition_ to the string-concatenation of *"-"* and _key_.
1. Assert: _options_ has a field [[&lt;_key_&gt;]].
1. Let _optionsValue_ be _options_.[[&lt;_key_&gt;]].
1. Assert: Type(_optionsValue_) is either String, Undefined, or Null.
1. If Type(_optionsValue_) is String, then
1. Assert: _optionsValue_ is a String, or _optionsValue_ is either *undefined* or *null*.
1. If _optionsValue_ is a String, then
1. Let _ukey_ be the ASCII-lowercase of _key_.
1. Let _optionsUValue_ be the ASCII-lowercase of _optionsValue_.
1. Set _optionsValue_ to the String value resulting from canonicalizing _optionsUValue_ as a value of key _ukey_ per <a href="https://unicode.org/reports/tr35/#processing-localeids">Unicode Technical Standard #35 Part 1 Core, Annex C LocaleId Canonicalization Section 5 Canonicalizing Syntax, Processing LocaleIds</a>.
Expand Down

0 comments on commit 81abdc8

Please sign in to comment.