tc39 / proposal-relative-indexing-method

A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
MIT License
352 stars 19 forks source link

DOM collection #46

Open mfulton26 opened 3 years ago

mfulton26 commented 3 years ago

I suggest that .at (or whatever name is used) also be supported on DOM collection objects so that the same name can be used consistently.

taralx commented 3 years ago

At least that will be easy to polyfill: NodeList.prototype.at = Array.prototype.at