Determine if a value is Callable/Constructible

Boris Zbarsky bzbarsky at
Mon Mar 30 18:06:52 UTC 2015

On 3/30/15 1:33 PM, Axel Rauschmayer wrote:
> As in “makes sense to call”. In the past, `typeof x === 'function'” was
> an adequate test for checking whether it makes sense to call `x`.

Except for all the DOM constructors, right?


More information about the es-discuss mailing list