Skip to content

isElement flawed or browser hack? #18

@ronkorving

Description

@ronkorving

I was reading what changed recently and noticed

if ( typeof HTMLElement === 'object' )

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions