Skip to content

Commit 7add38b

Browse files
authored
change parameter name to the set one
1 parent 1536666 commit 7add38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/07-url/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ For example:
9494
let url = new URL('https://google.com/search');
9595
url.searchParams.set('q', 'test me!'); // added parameter with a space and !
9696

97-
alert(url); // https://google.com/search?query=test+me%21
97+
alert(url); // https://google.com/search?q=test+me%21
9898

9999
url.searchParams.set('tbs', 'qdr:y'); // this parameter specifies for date range for Google Search
100100

0 commit comments

Comments
 (0)