aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html b/files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html
index 9d9fdbdba1..2d4cf7f3b6 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/weakref/deref/index.html
@@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/WeakRef/deref
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate"><code><var>obj</var> = <var>ref</var>.deref();</code>
+<pre class="syntaxbox"><code><var>obj</var> = <var>ref</var>.deref();</code>
</pre>
<h3 id="返回值">返回值</h3>
@@ -28,7 +28,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/WeakRef/deref
<p>有关<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef#Examples">完整示例</a>,请参阅{{jsxref("WeakRef")}}页面的示例部分。</p>
-<pre class="brush: js notranslate">const tick = () =&gt; {
+<pre class="brush: js">const tick = () =&gt; {
// Get the element from the weak reference, if it still exists
const element = this.ref.deref();
if (element) {