You can use window.location="https://www.bestinterviewquestion.com";

You can also use window.location.href = "https://www.bestinterviewquestion.com";

BY Best Interview Question ON 29 Jun 2019

Suggest An Answer