As of ES2015 you can convert an iterable like HTMLCollection into a regular array by using the spread syntax:
[...iterable] [...iterable] Array.prototype.slice.call(htmlCollection);
Which has been the canonical way to cast them. But it will still throw on null or undefined. Array.from('string')
[...'string']