From c40612041809fe289aba58aefa170bbe784aba1f Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-CN --- .../reference/global_objects/regexp/tosource/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/regexp/tosource') diff --git a/files/zh-cn/web/javascript/reference/global_objects/regexp/tosource/index.html b/files/zh-cn/web/javascript/reference/global_objects/regexp/tosource/index.html index 80f4972ca0..3e86a9020d 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/regexp/tosource/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/regexp/tosource/index.html @@ -11,16 +11,16 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/toSource ---

{{JSRef("Global_Objects", "RegExp")}}{{ Non-standard_header() }}

-

概述

+

概述

返回一个字符串,代表当前对象的源代码

-

语法

+

语法

regexObj.toSource()
 
-

描述

+

描述

toSource方法返回值如下:

@@ -39,6 +39,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/toSource

该方法通常由JavaScript内部隐含调用,而不会明确的出现在用户代码中.

-

相关链接

+

相关链接

Object.prototype.toSource

-- cgit v1.2.3-54-g00ecf