change parameter name to the set one

This commit is contained in:
1van0v 2019-07-11 14:53:47 +03:00 committed by GitHub
parent 1536666ae0
commit 7add38b25d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ For example:
let url = new URL('https://google.com/search');
url.searchParams.set('q', 'test me!'); // added parameter with a space and !
alert(url); // https://google.com/search?query=test+me%21
alert(url); // https://google.com/search?q=test+me%21
url.searchParams.set('tbs', 'qdr:y'); // this parameter specifies for date range for Google Search