Allen probably could use a bug on file at bugs.ecmascript.org -- anyone?

/be

Claude Pache <mailto:[email protected]>
August 30, 2013 5:35 AM
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


_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to