Calling toString on function proxy throws TypeError exception

Boris Zbarsky bzbarsky at
Tue Oct 27 16:53:26 UTC 2015

On 10/27/15 12:47 PM, Jordan Harband wrote:
> I think
> Claude's point ("The expectation is not that `F.p.toString` will always
> return something useful; it is that, for any callable object, it will
> return a string and not throw, because it was so since the dawn of JS.")
> is the one that convinces me.

But that statement isn't true, as I pointed out.  It just isn't, no 
matter how much we may wish it.


More information about the es-discuss mailing list