method Location.prototype.assignassign(url: string): voidNavigates to the given URL. Navigates to the given URL. Cannot be set in Deno. Parametersurl: stringReturnsvoid