From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../reference/global_objects/function/arity/index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 files/zh-cn/web/javascript/reference/global_objects/function/arity/index.html (limited to 'files/zh-cn/web/javascript/reference/global_objects/function/arity') diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/arity/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/arity/index.html new file mode 100644 index 0000000000..d8e8668ca2 --- /dev/null +++ b/files/zh-cn/web/javascript/reference/global_objects/function/arity/index.html @@ -0,0 +1,16 @@ +--- +title: Function.arity +slug: Web/JavaScript/Reference/Global_Objects/Function/arity +translation_of: Archive/Web/JavaScript/Function.arity +--- +
+
{{JSRef("Global_Objects", "Function")}} {{obsolete_header}}
+
+ +

概述

+ +

返回一个函数的形参数量.

+ +

描述

+ +

arity是一个古老的已经没有浏览器支持的属性,你应该使用Function.prototype.length属性来代替.

-- cgit v1.2.3-54-g00ecf