aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/set/add
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:02:49 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit01b0e12ba27b5069248fd09235e9a7143915ee30 (patch)
tree0e9edf538dc3fa3331e1dbb79239b58186765f86 /files/zh-cn/web/javascript/reference/global_objects/set/add
parent6ca84f1794af830ada9736d7289ce29aabb04ca3 (diff)
downloadtranslated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.gz
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.bz2
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.zip
remove `notranslate` class in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/set/add')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/set/add/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/set/add/index.html b/files/zh-cn/web/javascript/reference/global_objects/set/add/index.html
index 255379d70c..dac50ccb29 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/set/add/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/set/add/index.html
@@ -20,7 +20,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Set/add
<h2 id="Syntax" name="Syntax">语法</h2>
-<pre class="syntaxbox notranslate"><code><em>mySet</em>.add(value);</code></pre>
+<pre class="syntaxbox"><code><em>mySet</em>.add(value);</code></pre>
<h3 id="参数">参数</h3>
@@ -37,7 +37,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Set/add
<h2 id="Examples" name="Examples">示例</h2>
-<pre class="brush: js notranslate">var mySet = new Set();
+<pre class="brush: js">var mySet = new Set();
mySet.add(1);
mySet.add(5).add("some text"); // 可以链式调用