({}+{}).length //30

对象加对象会隐式转换,{}+{}的返回值是[object Object][object Object]

参考文章:http://www.mabiji.com/javascript/object-length.html

(function () {}).length //0

(function(a,b,c,d){}).length //4

返回的是形参的个数