Adding Reflect.{isCallable, isConstructor} looks reasonable to me. If the
spec needs these internally, chances are JS developers will need them at
one point. And as you note, typeof === "function" is a common work-around
in use today. So +1.2014-12-21 0:20 GMT+01:00 Tom Schuster <[email protected]>: > Thank you both. > Looking forward to the feedback. > > On Fri, Dec 19, 2014 at 6:55 PM, Rick Waldron <[email protected]> > wrote: > >> Done: https://github.com/tc39/agendas/blob/master/2015/01.md >> >> On Fri Dec 19 2014 at 12:26:33 PM Jason Orendorff < >> [email protected]> wrote: >> >>> Having said that, I do think Reflect.isCallable and isConstructor >>> would be a fine addition to ES7. These places where we check if an >>> internal method exists feel like a sort of secret-handshake part of >>> the MOP; we should expose them. >>> >>> Any objections? >>> >>> Would someone please add it to the agenda for the next meeting? >>> >>> -j >>> _______________________________________________ >>> es-discuss mailing list >>> [email protected] >>> https://mail.mozilla.org/listinfo/es-discuss >>> >> > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

