Jeremy Martin (2013-07-16T20:08:16.000Z)
domenic at domenicdenicola.com (2013-07-19T15:52:23.702Z)
I referenced Function.length instead of Function#length. Here's [the actually relevant spec][1]: > The value of the length property is an integer that indicates the typical number of arguments expected by the function. However, the language permits the function to be invoked with some other number of arguments. The behaviour of a function when invoked on a number of arguments other than the number specified by its length property depends on the function. This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }. Everything else still applies. (Hopefully) goes without saying, but the same should apply [to GeneratorFunction instances as well][2]. [1]: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.3.4.1 [2]: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.19.3.4