score:6

Accepted answer

This will work:

console.log(outerG[0][0].childNodes);

See jsFiddle here

The reason you need two nested indices is that all selections are grouped implicitly. If you'd like to know the deeper reasons for this, or want to understand selections better in general, see this article


Related Query

More Query from same tag