length返回函数定义的参数个数,示例如下。
function foo(a,b){ } foo.length; // -> 2
name属性返回函数的函数名,示例如下。
function foo(a,b){ } foo.name; // -> "foo"