请教一个匿名方法形参的问题~
 发布于 11 年前  作者 freew01f  4261 次预览  最后一次回复是 11 年前  来自  
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 回复