I remember of a point where it has been discussed about "levels" for the
"use strict" flag.
It was discarded, by the way, hehe
But it might be related to this, like "allowing" the detection of calees in
the given scope or not.
I think it could be useful like this:
`Function.getMetaData(theFunction);`
to avoid back-compatibility problems
or perhaps, the existence of a new keyword (not so retro-compatible) of a
scope.
`
scope.calee;
scope.source;
scope.arguments;
`
ACTUALLY...the word "transient" is reserved in ES, so we could use this
keyword, instead of scope...or is this a bad idea?!
I think it is not very cozy to read, something like this
`
function(){
console.log( function.calee );
console.log( function.name );
}
`
Regards,
On Thu, Feb 26, 2015 at 5:26 PM, Mark S. Miller <[email protected]> wrote:
> yes, exactly. As a lexical special form, it violates no fundamental
> principle.
>
>
> On Thu, Feb 26, 2015 at 12:22 PM, Kevin Smith <[email protected]>
> wrote:
>
>>
>>> To respond to this, I searched in vain for the following message on
>>> es-discuss, only to find it in a private thread. This message helped
>>> contribute towards the syntactic direction we finally took, where allowable
>>> new meta-accesses are introduces by <keyword>.<identifier>, but only for
>>> keywords that are not valid expressions by themselves.
>>>
>>
>> So, e.g. arguments.callee could be re-imagined as "function.callee" or
>> something similar.
>>
>>
>
>
> --
> Cheers,
> --MarkM
>
> _______________________________________________
> 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