Reputation:
I have that function :
const test = () => {
var url = "https://www.google.fr";
window.location.href = url;
}
But I would like to open Google in a new tab. How can I do to do that ?
Thank you very much !
Upvotes: 0
Views: 3198