Type Checking?

Mike Shaver mike.shaver at gmail.com
Thu Oct 11 15:01:33 PDT 2007

On 10/11/07, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
> If an object accepts arguments, it is callable, and if it is callable,
> it supports ,call(), right?

Assuming you mean "has itself a Callable member named 'call'", then I
think the answer is no -- being Callable means having a [[Call]]
operation defined on it, but that operation need not be reflected as a
method on the function.  You'll be able to use function-call syntax on
it, though, which is what typically invokes the [[Call]] operation.

(long-time listener, first-time caller)

More information about the Es4-discuss mailing list