b-fuze / deno-dom

Browser DOM & HTML parser in Deno
https://jsr.io/@b-fuze/deno-dom
MIT License
421 stars 48 forks source link

request update type for `NodeList.forEach` #152

Closed ngdangtu-vn closed 11 months ago

ngdangtu-vn commented 11 months ago

According to MDN, the this arg should be any object type: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach

With the current way right now, it makes thisArg become pretty dull.