aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html
index 9c844c1447..fcfc82fbd5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/math/pi/index.html
@@ -23,7 +23,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/PI
<p>下面的函数使用 Math.PI 计算给定半径的圆周长:</p>
-<pre class="brush:js language-js" style="padding: 1em 0px 1em 30px; font-size: 14px; white-space: normal; color: rgb(77, 78, 83);"><code class="language-js" style="direction: ltr; white-space: pre;">function calculateCircumference (radius) {
+<pre class="brush:js language-js"><code class="language-js">function calculateCircumference (radius) {
return 2 * Math.PI * radius;
}