摘要:
// length 是js函数对象的一个属性值,该值是指 “该函数有多少个必须要传入的参数”,即形参的个数 // 形参的数量不包括剩余参数个数,仅包括 “第一个具有默认值之前的参数个数” // rest parameter is not counted 即:不包括剩余参数个数 // 例子如下: console.log("function(...args)",(func... 阅读全文
摘要:
1 2 3 4 5 Document 6 7 8 9 10 11 here is outter 12 13 here is middle 14 15 here is inner ... 阅读全文