diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html')
| -rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html index 77f7426002..52770bcc7a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html @@ -69,7 +69,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/PluralRules <h2 id="例子">例子</h2> -<h3 id="基本用法">基本用法 +<h3 id="基本用法">基本用法</h3> <p>在没有指定语言环境的基本使用中,返回默认语言环境中的格式化字符串和默认选项。这有助于区分单数和复数形式,例如“dog”和“dogs”。</p> @@ -101,7 +101,7 @@ new Intl.PluralRules('ar-EG').select(6); new Intl.PluralRules('ar-EG').select(18); // → 'many'</pre> -<h3 id="运用_options">运用 +<h3 id="运用_options">运用</h3> <p>可以查询查询结果使用><code>options</code>参数进行自定义,该参数具有一个<code>type</code>您可以设置的属性<code>ordinal</code>。这对计算序数指标很有用,例如“第一”,“第二”,“第三”,“第四”,“42”等。</p> |
