var f0 = function test(a, b, c){
console.log(arguments.length); // 实参个数
console.log(test.length);· // 形参个数
}
费匿名怎么获得形参个数呢
var f1 = function(a, b, c){
console.log(arguments.length); // 实参个数
console.log(???.length);· // 形参个数???
}
回复 (2)
A
arguments.callee
F
参与回复
登录后即可参与回复。登录