You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -496,7 +496,7 @@ This little library has plenty of other useful functions that you can use to bui
496
496
## addQueryToURL
497
497
It receives a URL instance or URL string and an object-like query and returns a new URL with the query appended to it.
498
498
499
-
It will preserve the original query if it exists and will also preserve the type of the given URL.
499
+
It will preserve the original query if it exists and will also preserve the type of the given URL. When a `URL` object is provided, the original instance is left untouched and a new one is returned.
0 commit comments