We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1812a89 commit bbba42fCopy full SHA for bbba42f
lib/internal/url.js
@@ -748,13 +748,13 @@ class URL {
748
toString() {
749
if (!isURLThis(this))
750
throw new ERR_INVALID_THIS('URL');
751
- return this[kFormat]({});
+ return this[kFormat]();
752
}
753
754
get href() {
755
756
757
758
759
760
set href(input) {
@@ -1011,7 +1011,7 @@ class URL {
1011
toJSON() {
1012
1013
1014
1015
1016
1017
static createObjectURL(obj) {
0 commit comments