aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/string/valueof/index.html
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/string/valueof/index.html
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/string/valueof/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/valueof/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/valueof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/valueof/index.html
index 6af5bd5d2d..2d8754a2cc 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/valueof/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/valueof/index.html
@@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/valueOf
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate"><code><var>str</var>.valueOf()</code></pre>
+<pre class="syntaxbox"><code><var>str</var>.valueOf()</code></pre>
<h3 id="返回结果">返回结果</h3>
@@ -27,7 +27,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/valueOf
<h3 id="使用_valueOf">使用 <code>valueOf()</code></h3>
-<pre class="brush: js notranslate">var x = new String('Hello world');
+<pre class="brush: js">var x = new String('Hello world');
console.log(x.valueOf()); // Displays 'Hello world'
</pre>