Re: es-discuss Digest, Vol 52, Issue 117

2011-06-21 Thread Mariusz Nowak
rauschma wrote: var c1 = Object.create(C); obj.one(); // 'A.foo' That would be c1.one(), right? Yes, sorry edited post twice. rauschma wrote: |here| === C and thus the search for super.one starts in B and finds A.one. B.two = function () { this.three(); }; B.three

Re: es-discuss Digest, Vol 52, Issue 117

2011-06-20 Thread Peter Michaux
On Mon, Jun 20, 2011 at 1:27 PM, Axel Rauschmayer a...@rauschma.de wrote: Terminology (created by me, but I think it explains well what is going on): - |this| points to the object where property lookup starts. It always points to the beginning of the prototype chain. - |here| points to the