Some Quasi specification issues

Brendan Eich brendan at mozilla.org
Mon Jul 2 17:11:03 PDT 2012


Erik Arvidsson wrote:
>> 4) Should we also have a mostly raw tag that treats everything as raw except
>> >  for explicit line continuation?
>
> I don't care.

When in doubt, leave it out.

>> >  5)  Simplify the "call site object" to be an array
>
> I like it.

For some engines (perhaps ones that should get busy optimizing), making 
an array have named expando properties deoptimizes accesses to indexed 
elements.

On the other hand Allen's proposal makes two objects where the 
harmony:quasis proposal makes three.

/be


More information about the es-discuss mailing list