Re: Terminology: “non-method function”

Axel Rauschmayer axel at rauschma.de
Tue Apr 10 18:07:28 PDT 2012


Or, if we could somehow express that a “non-method” has no dynamic dependencies and e.g. call it “static function” or “lexical function”.

> However, in JS we have:
> 
>      callableObject instanceof Function
> 
> Thus, how about the following:
> 
> - Function: a callable object
> - Method: A function that has a dynamic this (or super) dependency.
> - Callback: A function that does not have a dynamic this dependency.

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120411/965c95cf/attachment.html>


More information about the es-discuss mailing list