stretchr / arg.js

Lightweight URL argument and parameter parser
Other
1.06k stars 47 forks source link

Arg.url() is not changing url in address bar #42

Closed abriginets closed 7 years ago

abriginets commented 7 years ago

Hello. When I trying to change my url from example.com to example.com?parateter=test via Arg.url('http://example.com/, 'data) the URL in address bar isn't changing. Am I doing right?

let data = {"parameter": "test"}
Arg.url('http://example.com/', data);

Regards, Andrew.

abriginets commented 7 years ago

The documentation has been learned inattentively.