Re: [Element Traversal LC] access to element by index

On Apr 2, 2008, at 16:50, Henri Sivonen wrote:
>    if (next = current.firstChild) {
>       current = next;
>       continue;
>    }
>    break;


Please disregard that break;. (Left-over from a switch that was  
obscuring the main point of the algorithm.)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 2 April 2008 14:03:01 UTC