jillix/url.js

Improve the documentation comment of the updateSearchParam function

Closed this issue · 0 comments

Specify in the documentation comment of updateSearchParam that if the parameter already exists in the query, this function will update its value, so it will not add another parameter with the same name. So instead of Adds a parameter=value to the url (without page refresh) maybe it could be Adds or updates ....