![]()
As it has already been mentioned in a previous post, one of the most widely used instances in JavaScript is the Location Object which is used to determine the current URL.
In this example, we will focus on search property of location object which, sets or returns the query string part of a URL.