aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html
index c9f0d376f9..1682a0ba73 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/math/sinh/index.html
@@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/sinh
<h2 id="Syntax" name="Syntax">语法</h2>
-<pre class="syntaxbox notranslate">Math.sinh(<em>x</em>)</pre>
+<pre class="syntaxbox">Math.sinh(<em>x</em>)</pre>
<h3 id="Parameters" name="Parameters">参数</h3>
@@ -28,7 +28,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/sinh
<h2 id="Examples" name="Examples">示例</h2>
-<pre class="brush:js notranslate">Math.sinh(0) // 0
+<pre class="brush:js">Math.sinh(0) // 0
Math.sinh(1) // 1.1752011936438014
Math.sinh("-1") // -1.1752011936438014
Math.sinh("foo") // NaN
@@ -55,7 +55,7 @@ Math.sinh("foo") // NaN
<p>该函数可以使用 {{jsxref("Math.exp()")}}<code> 函数来实现</code>:</p>
-<pre class="brush: js language-js notranslate">function sinh(x){
+<pre class="brush: js language-js">function sinh(x){
return (Math.exp(x) - Math.exp(-x)) / 2;
}</pre>