ES Native Mode proposal

Rick Waldron waldron.rick at gmail.com
Wed Sep 25 13:00:40 PDT 2013


On Wed, Sep 25, 2013 at 3:31 PM, Brandon Benvie <bbenvie at mozilla.com> wrote:

> On 9/25/2013 12:20 PM, Rick Waldron wrote:
>
>> This list has been around the new pragma block several times and in the
>> end the following (or something similar) holds: adding a new pragma will
>> effectively creates a new "version" of the language and that's not going to
>> happen any time soon.
>>
>
> Indeed. Also,  a pragma isn't really a good way to fix this. A better
> solution is use the module system to allow for importing
> pristine/non-method versions of the functions. This was already proposed,
> as an example, for {call, bind, apply} from "@function".



This is definitely preferable.

There was an earlier draft for modules that had a line that I interpreted
as effectively providing a fresh Global object within the module body, but
that could've been wishful thinking.

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130925/5d3df239/attachment.html>


More information about the es-discuss mailing list