with

Peter van der Zee ecma at qfox.nl
Thu Nov 17 03:57:13 PST 2011


On Thu, Nov 17, 2011 at 12:53 PM, Dmitry Soshnikov
<dmitry.soshnikov at gmail.com> wrote:
>> My first answer was glib, sorry. I'm proposing `with' as a replacement
>> syntax for <|. So the above expression evaluates to the same as

....

> Once again, it's absolutely the same approach which I showed yesterday with
> using `extends'
> (https://mail.mozilla.org/pipermail/es-discuss/2011-November/018478.html).

David is talking about the proposed <| operator, to replace that with
`with`, initializing an object with a given object as prototype. Not
extending... anything.

- peter


More information about the es-discuss mailing list