Comment

Comment by TheAceOfHearts

As of ES2015 you can convert an iterable like HTMLCollection into a regular array by using the spread syntax:

    [...iterable]

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton