4 ms·
Right. If NodeList is compatible with Array methods, it honestly feels like it should just inherit those methods. Or implement them separately.
by bluepnume 5y ago
Right. If NodeList is compatible with Array methods, it honestly feels like it should just inherit those methods. Or implement them separately.
- megous 5y agoYou can just copy them to NodeList prototype.