>> In some way, that would even be correct – depending on what you expect a 
>> function to be: something callable or something constructible. Alas, there 
>> is currently no simple way to distinguish “callable” and “constructible”.
> 
> Why do you say they're not callable?


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`. Since ES6, it 
isn’t, anymore. That’s why the checks proposed by Caitlin will be nice to have.

-- 
Dr. Axel Rauschmayer
a...@rauschma.de
rauschma.de



_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to