ES6 doesn't need opt-in

liorean liorean at gmail.com
Thu Jan 19 00:16:43 PST 2012


2012/1/10 Herby Vojčík <herby at mailbox.sk>:
> P.S.: I would bet 99% of developers thinks the model is in fact "fallback
> delegation". :-/ It is simpler model that works most of the time. Always
> write locally, always read locally and then look up the prototype chain.

I think that's a question of making a fallacy of equivocation. The
localisation when reading from or writing to a property is a matter of
the value contained in that slot. The access or write permission of
that property is a matter of the actual slot.

-- 
David "liorean" Andersson


More information about the es-discuss mailing list