From c40612041809fe289aba58aefa170bbe784aba1f Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-CN --- .../reference/global_objects/function/tostring/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/function/tostring') diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/tostring/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/tostring/index.html index 1ab33a0d1f..4095dfba6a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/function/tostring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/function/tostring/index.html @@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function/toString
{{EmbedInteractiveExample("pages/js/function-tostring.html")}}
-

语法

+

语法

function.toString()
@@ -21,7 +21,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function/toString

表示函数源代码的一个字符串

-

描述

+

描述

{{jsxref("Function")}}对象覆盖了从{{jsxref("Object")}}继承来的{{jsxref("Object.prototype.toString", "toString")}} 方法。对于用户定义的 {{jsxref("Function")}} 对象,toString方法返回一个字符串,其中包含用于定义函数的源文本段。

@@ -223,7 +223,7 @@ Function("a", "b")
  • 从Firefox 38开始,Function.prototype.toString() 会对 {{jsxref("Proxy")}} 对象抛出异常 ({{bug(1100936)}})。
  • -

    相关链接

    +

    相关链接