[PROPOSAL] "use" keyword

David Bruant bruant.d at gmail.com
Fri Jul 25 12:07:32 PDT 2014


Hi,

Le 25/07/2014 20:52, Michaël Rouges a écrit :
> Hi all,
>
> There is any plan around un functionnality like the "use" keyword, in PHP.
>
> Why something like that? Because, in JS, there is no way to inject 
> some variables, without touch the this object known in a function.
Can you give an example of what you call "injecting some variables"?
More generally, can you give a concrete example of what you're trying to 
achieve?

Thanks,

David


More information about the es-discuss mailing list