method Location.assign Private Location.assign(url: string): void Navigates to the given URL. Cannot be set in Deno. Parameters url: string Return Type void