Chr*_*thy 30 javascript arguments optional optional-arguments
大多数网站都说"callee"作为Function.arguments的属性已被弃用.但有些网站更进一步,并说整个Functions.argument已被弃用,例如http://aptana.com/reference/api/Arguments.html为什么只提到被叫者,如果整个程序在水中已经死了?我只是发现了"论点",看起来非常有用,例如:http://hungred.com/how-to/secret-arguments-array-javascript/
Ale*_* K. 48
Function.arguments 已弃用,但仅推荐使用arguments函数中可用的vanilla 对象.(例如使用x = arguments[i];而不是x = theFunc.arguments[i];)
现在,这是访问收到的序数参数的首选方法(也就是说,非常有用).