diff options
author | Lete <me@imlete.cn> | 2022-03-18 13:59:47 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-18 21:31:09 +0800 |
commit | e48f0a637c058b51a6268e0c2c384957e03d2b60 (patch) | |
tree | 31f9fc77b4b53a88a4e7f049b1f091f651fed336 /files/zh-cn | |
parent | 543b568d86e2c26a50a20b40009e1f262c7b16cb (diff) | |
download | translated-content-e48f0a637c058b51a6268e0c2c384957e03d2b60.tar.gz translated-content-e48f0a637c058b51a6268e0c2c384957e03d2b60.tar.bz2 translated-content-e48f0a637c058b51a6268e0c2c384957e03d2b60.zip |
fix: Poorly articulated statements
Diffstat (limited to 'files/zh-cn')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html index 88644d61b8..257ae97822 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html @@ -15,7 +15,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/localeCompare <p><strong><code>localeCompare()</code></strong> 方法返回一个数字来指示一个参考字符串是否在排序顺序前面或之后或与给定字符串相同。</p> -<p><code>新的 locales 、</code> <code>options</code> 参数能让应用程序定制函数的行为即指定用来排序的语言。 <code>locales</code> 和 <code>options</code> 参数是依赖于具体实现的,在旧的实现中这两个参数是完全被忽略的。</p> +<p>新的 <code>locales</code> 和 <code>options</code> 参数能让应用程序定制函数的行为,即指定用来排序的语言。 <code>locales</code> 和 <code>options</code> 参数完全取决于实现,在旧的实现中忽略这两个参数。</p> <h2 id="语法">语法</h2> |