method Location.replaceLocation.replace(url: string): voidDeprecatedRemoves the current page from the session history and navigates to the given URL. Disabled in Deno. Parametersurl: stringReturn Typevoid