Conflicts between W3C specs and ES5?
david-sarah at jacaranda.org
Thu Dec 3 22:20:34 PST 2009
Maciej Stachowiak wrote:
> On Dec 3, 2009, at 4:06 AM, Jorge Chamorro wrote:
>> Object.prototype.k= 27;
>> -> 27
>> For it's the last place where a reference would ever be looked up...
>> or not ?
>> (now me ducks and runs :-)
> No, the prototype chain is a separate concept from the scope chain.
> Entries in the scope chain are conceptually objects each of which has
> its own prototype chain.
That's true in ES3. In ES5, entries in the scope chain are environment
records, which can be either Object Environment Records that each have
a prototype chain, or Declarative Environment Records.
David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 292 bytes
Desc: OpenPGP digital signature
More information about the es-discuss