Add Reflect.isConstructor and Reflect.isCallable?

Tom Schuster tom at schuster.me
Tue Dec 16 13:05:03 PST 2014


Hello,

right now there is no way in normal JS code to replicate the IsConstructor
check defined in 7.2.4.
IsCallable can be done with "typeof == function". I think this might be
useful in some cases and is trivial to implement.

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141216/f5ba11c1/attachment.html>


More information about the es-discuss mailing list