I\'m trying to traverse the DOM and push all the li nodes to an array but I\'m having a problem with my loop.
li
Given this piece of html: