Am I the only one who finds it weird to use `function.something` inside a
function?

```
function doSomething () {
    function.self...
}
```

That's why I was thinking in something more related to the "scope" than to
the function object itself.




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

> 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
>
>


-- 
*Felipe N. Moura*
Senior Web Developer

Website:  http://felipenmoura.org
Twitter:    @felipenmoura <http://twitter.com/felipenmoura>
LinkedIn: http://goo.gl/qGmq

Meet some of my projects:
BrazilJS Conference <http://braziljs.com.br/>  |  BrazilJS Foundation
<http://braziljs.org>  |  Power Polygon
<http://github.com/braziljs/power-polygon>  |  TheWebMind
<http://thewebmind.org/>  |  PHPDevBar
<https://addons.mozilla.org/pt-BR/firefox/addon/php-developer-toolbar/>
---------------------------------
LinuxUser #508332
*Changing  the  world*  is the least I expect from  myself!
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to