Boris Zbarsky bzbarsky at MIT.EDU
Wed Jun 11 08:05:26 PDT 2014

On 6/11/14, 10:58 AM, Rick Waldron wrote:
> function isConstructor(C) {
>    try {
>      new C();

This will fail for constructors that require actual arguments, right?

For example, this will fail if C === window.Worker in a browser.


More information about the es-discuss mailing list