Claude Pache (2013-08-30T12:35:15.000Z)
The `uncurryThis` metafunction, given as example in [1], needs to correct the length of a function produced by `bind`. Simplified version:

```
	uncurryThis =  f => Function.protytpe.call.bind(f) // uncurryThis(f).length == 1 instead of f.length + 1
```

So, yes, `bind` should produce functions with mutable length.

—Claude

[1] http://www.mail-archive.com/[email protected]/msg21786.html

Le 30 août 2013 à 12:54, Brandon Benvie <bbenvie at mozilla.com> a écrit :

> The latest spec revision makes the function "length" property configurable (section 8.3.16.6). Function.prototype.bind (15.3.3.5) still produces functions with non-configurable "length", however. I think this may be an oversight, but I'm not sure.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
domenic at domenicdenicola.com (2013-09-08T00:26:01.780Z)
The `uncurryThis` metafunction, given as example in [1], needs to correct the length of a function produced by `bind`. Simplified version:

```js
uncurryThis =  f => Function.protytpe.call.bind(f) // uncurryThis(f).length == 1 instead of f.length + 1
```

So, yes, `bind` should produce functions with mutable length.

[1]: http://www.mail-archive.com/[email protected]/msg21786.html