0
window.open
how can i use the window.open function in JavaScript?
1 Answer
+ 3
Window open()
The open() method opens a new browser window, or a new tab, depending on your browser settings and the parameter values.
Example:
Open "https://www.sololearn.com" in a new browser tab:
window.open("https://www.sololearn.com");
https://www.w3schools.com/jsref/met_win_open.asp