feature: add `toArray()`

Converts NodeLists to Array.