b-fuze / deno-dom

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

request update type for `NodeList.forEach` #152

Closed ngdangtu-vn closed 1 year ago

ngdangtu-vn commented 1 year 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.