Determine if a value is Callable/Constructible

Kevin Smith zenparsing at
Mon Mar 30 18:06:13 UTC 2015

> That distinction means that you can’t “really” [[Call]] a constructor,
> it’s just that the reason is slightly different from trying to [[Call]] an
> Array instance (or something)

Another way to look at the situation is that, by default, calling a class
constructor will throw an error.  That default may be changed however.
Just not with ES6 : )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list