ericclemmons / ericclemmons/unique-selector

isElement flawed or browser hack?

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
272
Forks
55
PR merge metrics
No merged PRs in 30d

Description

I was reading what changed recently and noticed https://github.com/ericclemmons/unique-selector/blob/3c0db08b382e9bf0a7f0479631ff8d2f830e3694/src/isElement.js#L8

Normally `typeof HTMLElement` is `function` though, as it's a constructor. Is this a browser hack that's supposed to be there, or a bug?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.