From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- .../javascript/reference/global_objects/string/includes/index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/includes') diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/includes/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/includes/index.html index 6784bfb61f..97b7bf23aa 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/includes/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/includes/index.html @@ -25,12 +25,11 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/includes
要在此字符串中搜索的字符串。
position {{optional_inline}}
从当前字符串的哪个索引位置开始搜寻子字符串,默认值为 0
-
-

返回值

-
-
如果当前字符串包含被搜寻的字符串,就返回 true;否则返回 false
+

返回值

+

如果当前字符串包含被搜寻的字符串,就返回 true;否则返回 false

+

描述

这个方法可以帮你判断一个字符串是否包含另外一个字符串。

-- cgit v1.2.3-54-g00ecf