Skip to content

URL with Object.prototype.toString #10554

Description

@stevenvachon

In Chrome:

Object.prototype.toString.call(newURL("http://domain.com/"))//-> [object URL]

In Node:

constURL=require("url").URL;Object.prototype.toString.call(newURL("http://domain.com/"))//-> [object Object]

@jasnell

Metadata

Metadata

Assignees

No one assigned

    Labels

    urlIssues and PRs related to the legacy built-in url module.whatwg-urlIssues and PRs related to the WHATWG URL implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions