aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/functions/index.html
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:08:24 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch)
treefcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/reference/functions/index.html
parenta2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff)
downloadtranslated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.gz
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.bz2
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.zip
remove font tag in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/functions/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/functions/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/functions/index.html b/files/zh-cn/web/javascript/reference/functions/index.html
index 2184c429f3..6d48ab1c9a 100644
--- a/files/zh-cn/web/javascript/reference/functions/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/index.html
@@ -63,7 +63,7 @@ translation_of: Web/JavaScript/Reference/Functions
<p>定义函数有多种方法:</p>
-<h3 id="The_function_declaration_.28function_statement.29" name="The_function_declaration_.28function_statement.29">函数声明 (<font face="Consolas, Liberation Mono, Courier, monospace">函数</font>语句)</h3>
+<h3 id="The_function_declaration_.28function_statement.29" name="The_function_declaration_.28function_statement.29">函数声明 (函数语句)</h3>
<p>有一个特殊的语法来声明函数(查看<a href="/zh-cn/JavaScript/Reference/Statements/function" title="zh-cn/Core_JavaScript_1.5_Reference/Statements/function">函数语句</a>了解详情):</p>
@@ -283,14 +283,14 @@ translation_of: Web/JavaScript/Reference/Functions
} // 没有分号
</pre>
-<p>一个匿名函数的函数表达式,被赋值给变量<code><font face="Open Sans, Arial, sans-serif">multiply</font></code><font face="Open Sans, Arial, sans-serif">:</font></p>
+<p>一个匿名函数的函数表达式,被赋值给变量<code>multiply</code>:</p>
<pre class="brush: js line-numbers language-js"> var multiply = function(x, y) {
return x * y;
};
</pre>
-<p><font face="Open Sans, Arial, sans-serif">一个命名为<code>func_named</code>的函数的函数表达式,被赋值给变量</font><code><font face="Open Sans, Arial, sans-serif">multiply</font></code><font face="Open Sans, Arial, sans-serif">:</font></p>
+<p>一个命名为<code>func_named</code>的函数的函数表达式,被赋值给变量<code>multiply</code>:</p>
<pre class="brush: js">var multiply = function func_name(x, y) {
return x * y;