Or the following three forms would be great:

// normal form
function();
// or
function.invoke();

// additionally
function.call();
function.apply();


- Matthew Robb

On Thu, Feb 26, 2015 at 9:29 PM, Matthew Robb <[email protected]>
wrote:

> I am positive that there will be good reasons I am just curious what they
> might be, why not: `function(){ function(); }`
>
>
> - Matthew Robb
>
> On Thu, Feb 26, 2015 at 8:00 PM, Tom Schuster <[email protected]> wrote:
>
>> I think it's easier to convey the message to never use "callee" instead
>> use function.self.
>> On Feb 27, 2015 1:52 AM, "Allen Wirfs-Brock" <[email protected]>
>> wrote:
>>
>>> ((n)=>n>1? n*function.callee(n-1) : 1)
>>>
>>>
>>>
>>>
>>>
>>> On Feb 26, 2015, at 4:42 PM, Garrett Smith wrote:
>>>
>>> > Can you show an example of how callee is used with a fat arrow
>>> function?
>>> >
>>> > (()=>{alert(callee);})()
>>> >
>>> > Thanks.
>>> >
>>> > On 2/26/15, Allen Wirfs-Brock <[email protected]> wrote:
>>> >> Here is a new proposal for some additional meta properties that
>>> should be
>>> >> considered for ES7
>>> >> https://github.com/allenwb/ESideas/blob/master/ES7MetaProps.md
>>> >>
>>> >> I've added this to the agenda for next months TC39 meeting but
>>> pre-meeting
>>> >> discussion is always welcomed right here.
>>> >>
>>> >> Allen
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Garrett
>>> > @xkit
>>> > ChordCycles.com
>>> > garretts.github.io
>>> >
>>>
>>> _______________________________________________
>>> 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

Reply via email to