From a4989bee530d11cf3ee9511a1368884dde4568cb Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Wed, 26 Feb 2020 16:05:47 -0800 Subject: [PATCH] Fix small typos for the Unified NumberFormat parts (#410) Ref #404 --- spec/annexes.html | 2 +- spec/numberformat.html | 4 ++-- spec/pluralrules.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/annexes.html b/spec/annexes.html index b17f110f..882d6c7d 100644 --- a/spec/annexes.html +++ b/spec/annexes.html @@ -86,7 +86,7 @@

Implementation Dependent Behaviour

Localized symbols for compact and scientific notation ()
  • - Localized narrow, short, and long currency symbols and names () + Localized narrow, short, and long currency symbols and names ()
  • Localized narrow, short, and long unit symbols () diff --git a/spec/numberformat.html b/spec/numberformat.html index b79b3d2b..0f9e5663 100644 --- a/spec/numberformat.html +++ b/spec/numberformat.html @@ -643,8 +643,8 @@

    GetNotationSubPattern ( _numberFormat_, _exponent_ )

    1. Else if _exponent_ is not 0, then 1. Assert: _notation_ is *"compact"*. 1. Let _compactDisplay_ be _numberFormat_.[[CompactDisplay]]. - 1. Let _compactPatterns_ be _notationSubPatterns_.[[compact]].[[>_compactDisplay_<]]. - 1. Return _compactPatterns_.[[_exponent_]]. + 1. Let _compactPatterns_ be _notationSubPatterns_.[[compact]].[[<_compactDisplay_>]]. + 1. Return _compactPatterns_.[[<_exponent_>]]. 1. Else, 1. Return *"{number}"*. diff --git a/spec/pluralrules.html b/spec/pluralrules.html index 231b656f..ffd853e1 100644 --- a/spec/pluralrules.html +++ b/spec/pluralrules.html @@ -132,7 +132,7 @@

    ResolvePlural ( _pluralRules_, _n_ )

    1. Let _locale_ be _pluralRules_.[[Locale]]. 1. Let _type_ be _pluralRules_.[[Type]]. 1. Let _res_ be ! FormatNumericToString(_pluralRules_, _n_). - 1. Let _s_ be _res_.[[FormattedString]] + 1. Let _s_ be _res_.[[FormattedString]]. 1. Let _operands_ be ? GetOperands(_s_). 1. Return ? PluralRuleSelect(_locale_, _type_, _n_, _operands_).