aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/regexp/tosource
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitc40612041809fe289aba58aefa170bbe784aba1f (patch)
tree8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/regexp/tosource
parent12a899ab8540bc84f56a0dc6491be80a48499d49 (diff)
downloadtranslated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/regexp/tosource')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/regexp/tosource/index.html8
1 files changed, 4 insertions, 4 deletions
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
---
<p>{{JSRef("Global_Objects", "RegExp")}}{{ Non-standard_header() }}</p>
-<h2 id="Summary" name="Summary">概述</h2>
+<h2 id="Summary">概述</h2>
<p>返回一个字符串,代表当前对象的源代码</p>
-<h2 id="Syntax" name="Syntax">语法</h2>
+<h2 id="Syntax">语法</h2>
<pre class="syntaxbox"><code><var>regexObj</var>.toSource()
</code></pre>
-<h2 id="Description" name="Description">描述</h2>
+<h2 id="Description">描述</h2>
<p><code>toSource</code>方法返回值如下:</p>
@@ -39,6 +39,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/toSource
<p>该方法通常由JavaScript内部隐含调用,而不会明确的出现在用户代码中.</p>
-<h2 id="See_Also" name="See_Also">相关链接</h2>
+<h2 id="See_Also">相关链接</h2>
<p><a href="/zh-cn/JavaScript/Reference/Global_Objects/Object/toSource" title="zh-cn/JavaScript/Reference/Global_Objects/Object/toSource">Object.prototype.toSource</a></p>