Location.replace - Web documentation
method Location.replace

Removes the current page from the session history and navigates to the given URL.

Disabled in Deno.

Parameters

url: string

Return Type

void