code: public static Iterator<Node> iterator(Node parent) {
          return parent != null ? new JsArrayNodeIterator(parent) : emptyIterator();
      }
docs: Returns an iterator over the children of the given parent node. The iterator supports the {@link
  Iterator#remove()} operation which removes the current node from its parent.