(tag, i)
| 8 | * Note that we avoid spoofed prototype getters by using hasOwnProperty, and not using `length` |
| 9 | * as it searches for ALL matching nodes when this tag wasn't cached internally. */ |
| 10 | export const elemByTag = (tag, i) => getOwnProp(document::getElementsByTagName(tag), i || 0); |
| 11 | const { |
| 12 | TextDecoder: SafeTextDecoder, |
| 13 | } = global; |
no test coverage detected