Skip to content

host() returns undefined if URL is 'localhost' #2

Description

@srw

var url = new URL('localhost')
url.host()
undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions