Location.assign - Web documentation
method Location.assign
Location.assign(url: string): void

Navigates to the given URL.

Cannot be set in Deno.

Parameters

url: string

Return Type

void